Commit graph

650 commits

Author SHA1 Message Date
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
Paul Gauthier (aider)
5365305440 feat: Use GitTemporaryDirectory in test_cmd_read and test_cmd_read_with_external_file 2024-08-09 16:53:28 -04:00
Paul Gauthier (aider)
61c124604d feat: add test_cmd_read_with_external_file for cmd_read 2024-08-09 16:51:58 -04:00
Paul Gauthier (aider)
366da70907 fix: Resolve symlinks in external file path for test 2024-08-09 16:44:21 -04:00
Paul Gauthier (aider)
3549ed1205 style: Fix formatting and linting issues in test_main.py 2024-08-09 16:43:27 -04:00
Paul Gauthier (aider)
da5ea3a767 feat: add test for reading external file with --read option 2024-08-09 16:43:08 -04:00
Paul Gauthier (aider)
27a1d9e60f style: Fix linter issues in test_main.py 2024-08-09 16:41:22 -04:00
Paul Gauthier (aider)
6146ea0189 feat: Add test for --read option 2024-08-09 16:41:02 -04:00
Paul Gauthier (aider)
1557bb0c00 feat: add tests for /read and /drop commands 2024-08-09 16:38:42 -04:00
Paul Gauthier
109f197f52 feat: Add tests for simple_send_with_retries function 2024-08-08 15:22:58 -03:00
Paul Gauthier
2369489321 Clean up countdown 2024-08-08 15:19:24 -03:00
Paul Gauthier
fb0691914c fix: Use repo map only when map_tokens is greater than 0 2024-08-06 09:11:21 -03:00
Paul Gauthier (aider)
e20657096f fix: Properly mock RepoMap in test_map_tokens_option 2024-08-06 09:09:52 -03:00
Paul Gauthier
b04d77e345 fix: Update test_main.py to use the correct RepoMap import path 2024-08-06 09:09:51 -03:00
Paul Gauthier (aider)
d34da62b12 fix: Resolve issues in test_main.py 2024-08-06 09:07:40 -03:00
Paul Gauthier
ec7a212b60 fix: Update import path for RepoMap in test_main.py 2024-08-06 09:07:39 -03:00
Paul Gauthier (aider)
ce7cc137fb feat: add --yes flag to map tokens tests 2024-08-06 09:04:41 -03:00
Paul Gauthier (aider)
07aa969860 style: Format code with consistent indentation and line breaks 2024-08-06 09:04:04 -03:00
Paul Gauthier (aider)
45f6f88a46 feat: Add tests for --map-tokens option 2024-08-06 09:04:01 -03:00