Paul Gauthier (aider)
|
2192a5efb2
|
chore: fix failing tests in setup_git_home function
|
2024-08-28 11:19:30 -07:00 |
|
Paul Gauthier (aider)
|
e551159937
|
feat: import setup_git_home function in test_main.py
|
2024-08-28 11:16:56 -07:00 |
|
Paul Gauthier (aider)
|
4074096cd1
|
style: format code with black
|
2024-08-28 11:15:54 -07:00 |
|
Paul Gauthier (aider)
|
f43cc7f6c6
|
test: add unit tests for setup_git_home function
|
2024-08-28 11:15:50 -07:00 |
|
Paul Gauthier
|
a3554ffbbc
|
fix /read completions
|
2024-08-27 16:40:07 -07:00 |
|
Paul Gauthier
|
31f7856f41
|
feat: enhance autocomplete functionality for code tokens and filenames
|
2024-08-27 15:24:45 -07:00 |
|
paul-gauthier
|
0dcbc09761
|
Merge pull request #1196 from akaihola/isolated-tests
Use fake home directory to prevent `~/.aider.conf.yml` from affecting the test suite
|
2024-08-27 15:09:40 -07:00 |
|
Antti Kaihola
|
0746805e43
|
fix: TestMain now uses a fake home directory
This prevents tests from reading unexpected settings from the real
`~/.aider.conf.yml` file.
Fixes #1165.
|
2024-08-28 00:13:36 +03:00 |
|
Paul Gauthier (aider)
|
ca414ebf32
|
style: remove unused import of ANY from unittest.mock
|
2024-08-27 14:07:08 -07:00 |
|
Paul Gauthier
|
6f85f38d47
|
feat: add option to disable shell command suggestions
|
2024-08-27 14:06:54 -07:00 |
|
Paul Gauthier (aider)
|
825a94f7f0
|
fix: strip whitespace from shell command in test assertion
|
2024-08-27 14:05:10 -07:00 |
|
Paul Gauthier
|
ac9aaff3cf
|
test: refactor shell command suggestion test in test_coder.py
|
2024-08-27 14:05:09 -07:00 |
|
Paul Gauthier (aider)
|
9125bfc441
|
style: sort imports in test_coder.py
|
2024-08-27 14:01:38 -07:00 |
|
Paul Gauthier (aider)
|
96f406ab16
|
test: add test for suggest_shell_commands functionality
|
2024-08-27 14:01:34 -07:00 |
|
Paul Gauthier (aider)
|
a9002a3d30
|
test: add test for suggest_shell_commands functionality
|
2024-08-27 14:01:14 -07:00 |
|
Paul Gauthier (aider)
|
7815087444
|
style: format code with black
|
2024-08-27 13:57:04 -07:00 |
|
Paul Gauthier (aider)
|
d01e9ef7a4
|
test: update shell command handling checks in test_apply_shell_commands_with_no_suggest
|
2024-08-27 13:56:59 -07:00 |
|
Paul Gauthier
|
6a55708357
|
test: update assertions for shell command suggestion behavior
|
2024-08-27 13:56:58 -07:00 |
|
Paul Gauthier (aider)
|
59cc799b0d
|
style: format code with linter in test_main.py
|
2024-08-27 13:53:27 -07:00 |
|
Paul Gauthier (aider)
|
3bc1b7c2b7
|
test: print confirm_ask args in test_apply_shell_commands_with_no_suggest
|
2024-08-27 13:53:22 -07:00 |
|
Paul Gauthier
|
ac3df464e1
|
test: verify shell command suggestion behavior with --no-suggest-shell-commands flag
|
2024-08-27 13:53:21 -07:00 |
|
Paul Gauthier
|
1569995d26
|
refactor: simplify shell command tests and add TODOs for confirm_ask checks
|
2024-08-27 13:41:20 -07:00 |
|
Paul Gauthier (aider)
|
8735efc2b1
|
test: add tests for --no-suggest-shell-commands behavior
|
2024-08-27 13:33:56 -07:00 |
|
Paul Gauthier (aider)
|
a41ad9e778
|
test: add tests for --suggest-shell-commands option
|
2024-08-27 13:32:34 -07:00 |
|
Paul Gauthier
|
a5c283d7c8
|
feat: Add prompt cache warming via --cache-warming-pings
|
2024-08-26 16:33:25 -07:00 |
|
Paul Gauthier
|
5481d4385e
|
fix: Remove redundant assertion from test cases
|
2024-08-26 14:44:18 -07:00 |
|
Paul Gauthier (aider)
|
0a05f7efd7
|
fix: Ensure tool_error is called at least once in tests
|
2024-08-26 14:43:42 -07:00 |
|
Paul Gauthier (aider)
|
fefe6f7424
|
fix: Remove unused import statement in tests/basic/test_models.py
|
2024-08-26 14:43:00 -07:00 |
|
Paul Gauthier (aider)
|
f74fa16e4a
|
style: Fix import order in test_models.py
|
2024-08-26 14:42:26 -07:00 |
|
Paul Gauthier (aider)
|
abf19a61cf
|
feat: Add tests for sanity_check_model function
|
2024-08-26 14:42:24 -07:00 |
|
Paul Gauthier
|
66e9c3834a
|
fix: Improve filename detection in find_filename function
|
2024-08-26 13:52:35 -07:00 |
|
Paul Gauthier (aider)
|
528a3372d8
|
feat: add tests for find_filename
|
2024-08-26 13:43:10 -07:00 |
|
Paul Gauthier
|
4b2227c71f
|
don't disrupt \_ in filenames #1158
|
2024-08-26 12:08:46 -07:00 |
|
Paul Gauthier
|
65d224fba4
|
fix: Add support for directories with special characters in cmd_add
|
2024-08-25 12:05:31 -07:00 |
|
Paul Gauthier (aider)
|
2849c8bf78
|
fix: Remove unused imports in tests/basic/test_models.py
|
2024-08-25 09:54:49 -07:00 |
|
Paul Gauthier
|
27f9b7a251
|
fix: Remove unused imports and tests in test_models.py
|
2024-08-25 09:54:43 -07:00 |
|
Paul Gauthier (aider)
|
4200c575f8
|
feat: add tests for get_model_info
|
2024-08-25 09:47:53 -07:00 |
|
Paul Gauthier (aider)
|
cf3d7f7064
|
fix: Remove unused imports in tests/basic/test_models.py
|
2024-08-25 09:39:47 -07:00 |
|
Paul Gauthier
|
1edd046d08
|
fix: Reduce max_input_tokens in test_models
|
2024-08-25 09:39:41 -07:00 |
|
Paul Gauthier
|
b67914d74e
|
fix: Improve model info caching and fallback logic
|
2024-08-25 09:39:26 -07:00 |
|
Paul Gauthier (aider)
|
7ef1b21a3f
|
chore: Run the linter
|
2024-08-25 08:26:03 -07:00 |
|
Paul Gauthier (aider)
|
710484386a
|
fix: Mock file system operations in test_get_model_info
|
2024-08-25 08:26:00 -07:00 |
|
Paul Gauthier (aider)
|
6b0c98c799
|
style: Fix linter issues in test_models.py
|
2024-08-25 08:24:14 -07:00 |
|
Paul Gauthier (aider)
|
27015c2c62
|
fix: Patch requests.get directly in tests
|
2024-08-25 08:24:11 -07:00 |
|
Paul Gauthier (aider)
|
69fcdd4a13
|
style: Run linter
|
2024-08-25 08:23:26 -07:00 |
|
Paul Gauthier (aider)
|
8d532effc8
|
feat: Add tests for get_model_info function
|
2024-08-25 08:23:23 -07:00 |
|
Paul Gauthier
|
e5b0fe3dfd
|
fix: Improve confirm_ask function in io.py
|
2024-08-24 09:05:14 -07:00 |
|
Paul Gauthier (aider)
|
9bc1788003
|
feat: add test case for explicit_yes_required true and 'a' input
|
2024-08-23 16:41:52 -07:00 |
|
Paul Gauthier (aider)
|
0b9994ad69
|
style: Fix import order in test_io.py
|
2024-08-23 16:29:40 -07:00 |
|
Paul Gauthier (aider)
|
71e3af96d3
|
feat: Add tests for confirm_ask with a group
|
2024-08-23 16:29:37 -07:00 |
|