Commit graph

1119 commits

Author SHA1 Message Date
Paul Gauthier (aider)
ef7abf0de9 fix: Ensure RepoMap() is called with refresh="files" in test_sonnet_and_cache_options 2024-08-19 15:34:38 -07:00
Paul Gauthier
6db122788a fix: Remove unnecessary assertion in test_main.py 2024-08-19 15:34:36 -07:00
Paul Gauthier (aider)
cc2b48bef8 fix: Set mock_repo_map.max_map_tokens to 1000 in test_sonnet_and_cache_options 2024-08-19 15:32:46 -07:00
Paul Gauthier (aider)
2513e36104 feat: Add test for sonnet and cache options 2024-08-19 15:31:53 -07:00
Paul Gauthier
4081f2c5b1 fix metadata file test 2024-08-15 15:42:15 -07:00
Paul Gauthier (aider)
cb9da29bc3 style: Apply linter edits to test_main.py 2024-08-15 14:45:16 -07:00
Paul Gauthier (aider)
ec836b99cc feat: add test for --model-metadata-file option 2024-08-15 14:45:13 -07:00
Paul Gauthier
1cc1ce0bd4 fix: load yml config files most specific to least 2024-08-14 10:02:55 -07:00
Paul Gauthier (aider)
95535b9294 fix: Update test_yaml_config_file_loading to correctly access model name 2024-08-14 09:56:07 -07:00
Paul Gauthier (aider)
258132bfd4 fix: Fix YAML configuration file loading 2024-08-14 09:54:26 -07:00
Paul Gauthier (aider)
81ed9c3002 style: Apply linter formatting changes 2024-08-14 09:53:48 -07:00
Paul Gauthier (aider)
db22d298e3 feat: Add comprehensive test for YAML config file loading
The commit message is:

feat: Add comprehensive test for YAML config file loading
2024-08-14 09:53:44 -07:00
Paul Gauthier (aider)
abb375eb73 style: Format code with linter 2024-08-13 05:29:21 -07:00
Paul Gauthier (aider)
cef421dfc0 feat: Add patch for InputOutput in test_main_exit_calls_version_check 2024-08-13 05:29:18 -07:00
Paul Gauthier
fcf758527a fix: Call check_version in main with input and output arguments 2024-08-13 05:29:17 -07:00
Paul Gauthier (aider)
58f06e1f56 feat: add GitTemporaryDirectory to test_main_exit_calls_version_check 2024-08-13 05:26:12 -07:00
Paul Gauthier (aider)
a30a27fa8a feat: add test for main --exit that confirms version_check is called 2024-08-13 05:25:36 -07:00
Paul Gauthier
5f4fc06abc say yes, so the test attempts to add 2024-08-12 14:34:53 -07:00
Paul Gauthier (aider)
330c0fcd29 style: Apply linter formatting to test_coder.py 2024-08-12 14:27:22 -07:00
Paul Gauthier (aider)
1cc6841bad feat: add test for check_for_file_mentions with read-only file 2024-08-12 14:27:17 -07:00
Paul Gauthier
cb24f8c6d4 attempt to fix windows tests in CI 2024-08-12 14:09:52 -07:00
Paul Gauthier
8d59ce586c fix: Improve handling of read-only files in the cmd_add command 2024-08-12 09:08:24 -07:00
Paul Gauthier (aider)
1e8be8a429 feat: use GitTemporaryDirectory in test_cmd_add_read_only_file 2024-08-12 09:01:32 -07:00
Paul Gauthier (aider)
42d16ebb99 style: Format code to improve readability 2024-08-12 09:00:32 -07:00
Paul Gauthier (aider)
e84418f048 feat: add test for handling read-only files in cmd_add 2024-08-12 09:00:27 -07:00
Paul Gauthier
216ad3b6b5 fix: Add SwitchCoder exception handling in cmd_help 2024-08-10 14:49:55 -07:00
Paul Gauthier (aider)
e7c035def4 fix: Catch SwitchCoder exception in test_cmd_ask 2024-08-10 14:45:25 -07:00
Paul Gauthier
8769f31640 fix: Handle empty commit history in cmd_diff 2024-08-10 09:11:16 -07:00
Paul Gauthier (aider)
9d0b3d17bc style: Format code with linter 2024-08-10 09:10:46 -07:00
Paul Gauthier (aider)
364fda461f fix: Mock repo.get_commit_message instead of aider.sendchat.simple_send_with_retries 2024-08-10 09:10:42 -07:00
Paul Gauthier (aider)
d1fb4c5ab7 style: Apply linter formatting to test_wholefile.py 2024-08-10 09:01:22 -07:00
Paul Gauthier (aider)
216f03919d fix: Remove pretty argument from Coder.create method call 2024-08-10 09:01:18 -07:00
Paul Gauthier (aider)
fdc728e286 fix: Remove pretty argument from Coder.create method calls 2024-08-10 09:00:14 -07:00
Paul Gauthier (aider)
90b79e075a fix: Remove pretty argument from Coder.create() calls 2024-08-10 08:59:47 -07:00
Paul Gauthier (aider)
ba895c656a fix: Remove 'pretty' argument from Coder.create calls in tests 2024-08-10 08:59:13 -07:00
Paul Gauthier (aider)
564ad3964b style: Apply linter formatting to test_coder.py 2024-08-10 08:58:52 -07:00
Paul Gauthier (aider)
a2eb6e7ba0 fix: Remove pretty argument from Coder.create calls 2024-08-10 08:58:48 -07:00
Paul Gauthier (aider)
ecba5fb60d feat: add third modification to test case for cmd_diff 2024-08-10 08:55:29 -07:00
Paul Gauthier
edf98d5138 fix: Improve test_commands.py to capture and verify diff output 2024-08-10 08:55:28 -07:00
Paul Gauthier (aider)
ce64f7e1b7 feat: Add test for multiple commits in cmd_diff 2024-08-10 08:53:04 -07:00
Paul Gauthier
65526baeef fix: Add newline to initial commit message 2024-08-10 08:53:03 -07:00
Paul Gauthier (aider)
bea713a01f feat: Add test for cmd_diff command 2024-08-10 08:06:30 -07:00
Paul Gauthier (aider)
43587304a6 feat: add tests for text/plain and text/html content handling 2024-08-10 06:07:18 -07:00
Paul Gauthier (aider)
6c38766c92 fix: Update test for scrape method with correct mocking 2024-08-10 06:06:19 -07:00
Paul Gauthier (aider)
06934a9c2d style: Apply linter formatting to test_commands.py 2024-08-09 18:54:37 -04:00
Paul Gauthier (aider)
427164b0bf fix: Use samefile check in test_cmd_read 2024-08-09 18:54:32 -04:00
Paul Gauthier
11820ba6c1 Don't paginate cmd_web/diff except as / commands 2024-08-09 17:29:52 -04:00
Paul Gauthier
57a1aafdfd cleanup cmd_drop test 2024-08-09 17:08:01 -04:00
Paul Gauthier (aider)
39fffd81d5 style: Format code with linter 2024-08-09 16:59:01 -04:00
Paul Gauthier (aider)
b73d274e01 fix: Use os.path.samefile() to compare external file path in test_cmd_read_with_external_file 2024-08-09 16:57:45 -04:00