Commit graph

662 commits

Author SHA1 Message Date
Paul Gauthier (aider)
edd9b44ad3 refactor: Remove unused import of Path from test_linter.py 2024-09-04 13:56:25 -07:00
Paul Gauthier (aider)
14fc3e3ad1 style: format code with black and isort 2024-09-04 13:55:53 -07:00
Paul Gauthier (aider)
cd551dbf63 test: add basic tests for Linter class 2024-09-04 13:55:49 -07:00
Paul Gauthier
ed349b65b5 test: add basic linter tests 2024-09-04 13:55:48 -07:00
Paul Gauthier (aider)
98835d1f6d test: update sanity check tests to use tool_output instead of tool_warning 2024-09-03 17:21:06 -07:00
Paul Gauthier (aider)
d8c78cf8cd test: update sanity_check_model tests to use tool_warning 2024-09-03 13:50:10 -07:00
Paul Gauthier (aider)
441c07586d feat: import patch from unittest.mock for mocking in tests 2024-08-31 08:05:00 -07:00
Paul Gauthier (aider)
e606eb33a5 style: format code with black 2024-08-31 08:04:19 -07:00
Paul Gauthier (aider)
4a3e8ba41d test: add test for Coder.create with OSError on new file 2024-08-31 08:04:14 -07:00
Paul Gauthier
1a5a618608 fix: handle GitCommandNotFound exception in make_new_repo function 2024-08-31 07:49:23 -07:00
Paul Gauthier (aider)
653f0c77ef fix: add missing cause argument to GitCommandNotFound exception 2024-08-31 07:47:19 -07:00
Paul Gauthier (aider)
6a2dd41275 style: format code with black 2024-08-31 07:46:37 -07:00
Paul Gauthier (aider)
81981e7e99 test: add test for graceful exit when git command not found 2024-08-31 07:46:33 -07:00
Paul Gauthier (aider)
cc1f5cd4c2 style: format long string in test_repomap.py 2024-08-30 18:19:24 -07:00
Paul Gauthier (aider)
de4bdae2de test: add TSX file support and corresponding test 2024-08-30 18:19:06 -07:00
Paul Gauthier
cf67a86280 fix: Update is_important function tests for README.md paths 2024-08-30 16:59:36 -07:00
Paul Gauthier (aider)
99ec8e5927 style: Format code with linter 2024-08-30 16:57:24 -07:00
Paul Gauthier (aider)
2af6b96daa test: add tests for is_important() and filter_important_files() 2024-08-30 16:57:21 -07:00
Paul Gauthier
ff0350f5ae test: add basic tests for special functionality 2024-08-30 16:57:19 -07:00
Nikolay Sedelnikov
e8e1bd556f
fix: Handle new file creation in the same folder 2024-08-30 15:52:05 +02:00
paul-gauthier
59cb457008
Merge pull request #1216 from akaihola/misc-cleanups
Clean up types and drop an unused variable
2024-08-29 13:16:48 -07:00
Paul Gauthier (aider)
178983827b test: use real GPT35 model and remove token count mocking 2024-08-29 13:05:16 -07:00
Paul Gauthier (aider)
3b9b789b2d style: format code with linter 2024-08-29 13:02:54 -07:00
Paul Gauthier (aider)
5f3583d7f2 test: add test for show_exhausted_error method 2024-08-29 13:02:49 -07:00
Antti Kaihola
5376ae25e2 fix: use raw strings when backslashes 2024-08-29 21:10:47 +03:00
Paul Gauthier
ce397b71e8 do not try pexpect on windows; fix time.clock error on windows 2024-08-28 22:26:48 -07:00
Paul Gauthier (aider)
9acbee31db style: add noqa comment to suppress unused import warning 2024-08-28 22:14:55 -07:00
Paul Gauthier (aider)
e0c806476f style: format test_run_cmd.py with black 2024-08-28 22:14:11 -07:00
Paul Gauthier (aider)
40993fecf7 test: add tests for run_cmd function using echo command 2024-08-28 22:14:08 -07:00
Paul Gauthier
8e66b2d790 test: add basic test for run_cmd function 2024-08-28 22:14:06 -07:00
Paul Gauthier
e45def7a98 refactor: sort new file mentions before confirmation 2024-08-28 17:59:04 -07:00
Paul Gauthier (aider)
5d2a930f69 test: add mock test for check_for_file_mentions behavior 2024-08-28 17:51:37 -07:00
Paul Gauthier
e11cd8ecbb test: update AutoCompleter test for command matching 2024-08-28 16:03:40 -07:00
Paul Gauthier (aider)
d2bc24cb18 fix: update test_get_command_completions to handle matching_commands return value 2024-08-28 16:01:10 -07:00
Paul Gauthier (aider)
6687a24547 style: format test_io.py with linter 2024-08-28 16:00:49 -07:00
Paul Gauthier (aider)
d02e96f773 test: add test case for get_command_completions with "/model gpt" input 2024-08-28 16:00:45 -07:00
Paul Gauthier
0541513c7a refactor: simplify git repository setup process 2024-08-28 15:54:28 -07:00
Paul Gauthier (aider)
b8a52c2bef feat: use IgnorantTemporaryDirectory and create actual repo1 subdirectory in test_setup_git_home_existing_repo 2024-08-28 15:27:03 -07:00
Paul Gauthier (aider)
fc77570b38 fix: Update assertion in test_setup_git_home_invalid_choice 2024-08-28 15:25:12 -07:00
Paul Gauthier (aider)
54c5fb2bbd style: format code 2024-08-28 15:24:11 -07:00
Paul Gauthier (aider)
715a9a9c71 feat: use IgnorantTemporaryDirectory and create actual repo1 and repo2 subdirs in test_setup_git_home_invalid_choice 2024-08-28 15:24:07 -07:00
Paul Gauthier (aider)
4d08f9c6c5 style: format code with linter 2024-08-28 15:20:35 -07:00
Paul Gauthier (aider)
8c1fa3e9ff feat: use IgnorantTemporaryDirectory as Path.home in test_setup_git_home_new_repo 2024-08-28 15:20:31 -07:00
Paul Gauthier (aider)
6e3278afb7 style: Run linter 2024-08-28 15:15:54 -07:00
Paul Gauthier (aider)
8180fb06b0 feat: add tests for setup_git_home 2024-08-28 15:15:50 -07:00
Paul Gauthier
a0b330feda fix: Remove unused test cases for setup_git_home function 2024-08-28 15:15:16 -07:00
Paul Gauthier
d05cd4b459 feat: Implement setup_git_home function 2024-08-28 15:14:13 -07:00
Paul Gauthier
4782c2950f fix 2024-08-28 11:28:29 -07:00
Paul Gauthier (aider)
f466d96597 style: format long function signatures in test_main.py 2024-08-28 11:21:33 -07:00
Paul Gauthier (aider)
a57d9e55d6 fix: handle directory creation errors in setup_git_home 2024-08-28 11:21:28 -07:00