Commit graph

662 commits

Author SHA1 Message Date
Paul Gauthier (aider)
7e55a8f684 style: Format code in test_models.py to improve readability 2024-10-02 11:15:09 -07:00
Paul Gauthier (aider)
433223a7fc test: add sanity check for bogus editor model 2024-10-02 11:15:05 -07:00
Paul Gauthier (aider)
70a509bbea style: Format error message assertion in test_commands.py 2024-10-02 09:21:23 -07:00
Paul Gauthier (aider)
8c45e25724 test: update cmd_read_only test with full path for nonexistent glob 2024-10-02 09:21:17 -07:00
Paul Gauthier (aider)
f12682a0c1 style: Format code and remove whitespace 2024-10-02 09:20:45 -07:00
Paul Gauthier (aider)
79350ab195 test: add glob functionality tests for cmd_read_only method 2024-10-02 09:20:39 -07:00
Paul Gauthier
0091ab004c fix: Update autocomplete test to handle partial file names 2024-09-28 15:29:54 -07:00
Paul Gauthier (aider)
d647ebf058 fix: remove unused import of Completion in test_io.py 2024-09-28 15:28:29 -07:00
Paul Gauthier (aider)
c2b48b5256 style: format code and improve readability in test_io.py 2024-09-28 15:28:14 -07:00
Paul Gauthier (aider)
d5b8a15410 test: add unit tests for AutoCompleter.get_command_completions method 2024-09-28 15:28:11 -07:00
Paul Gauthier
2139de76fb test: remove unused test for command completions in TestInputOutput class 2024-09-28 15:28:10 -07:00
Paul Gauthier (aider)
e832ee8450 style: format code and run linter on test_io.py 2024-09-28 15:24:18 -07:00
Paul Gauthier (aider)
37236aa907 fix: update test_get_command_completions to match new method signature with Document and CompleteEvent parameters 2024-09-28 15:24:14 -07:00
Paul Gauthier (aider)
4ea68efd0e test: Fix confirm_ask test to handle invalid input and verify call count 2024-09-28 15:19:19 -07:00
Paul Gauthier (aider)
843cc9ee4e style: run linter and fix whitespace in test_io.py 2024-09-28 15:16:59 -07:00
Paul Gauthier (aider)
ec10ead0c3 test: add unit tests for allow_never option in confirm_ask method 2024-09-28 15:16:56 -07:00
Paul Gauthier (aider)
9884d838ea style: run linter and format test_commands.py for improved readability 2024-09-28 14:48:23 -07:00
Paul Gauthier (aider)
384391129d test: add unit test for /copy command with cur_messages present 2024-09-28 14:48:18 -07:00
Paul Gauthier
0819258e0f test: add unit test for handling bad glob in command add 2024-09-28 14:48:17 -07:00
Paul Gauthier (aider)
1e776863ac style: format code and improve linter compliance in test_commands.py 2024-09-28 14:44:04 -07:00
Paul Gauthier (aider)
202a219d82 test: add tests for the /copy command including success, no messages, and exception handling 2024-09-28 14:44:00 -07:00
Paul Gauthier
99bf23c5ff fix: Set AIDER_CHECK_UPDATE environment variable to false in test setup 2024-09-24 12:42:37 -07:00
Paul Gauthier
924eeb43de fix: Update test assertions for API key checks 2024-09-23 11:34:49 -07:00
fry69
7a5947fc49 feat: add tests for sanity_check_repo function 2024-09-23 07:55:45 +02:00
Paul Gauthier
cee0bb7135 add test for hash filenames 2024-09-22 08:24:55 -07:00
Paul Gauthier
cfe1d540f1 update fence test to use backticks at start of line 2024-09-21 10:42:58 -07:00
Paul Gauthier
0a3b4147fa test: update main tests to handle None input and add --exit flag 2024-09-10 15:32:43 -07:00
Paul Gauthier (aider)
fa49ab09c4 test: update code_theme tests to check InputOutput initialization 2024-09-10 15:24:11 -07:00
Paul Gauthier
454c2f4d0e feat: add --exit flag to test cases for controlled termination 2024-09-10 14:30:04 -07:00
Paul Gauthier (aider)
59bdc45728 refactor: Remove unused mock_open import 2024-09-10 14:18:56 -07:00
Paul Gauthier (aider)
645252168c style: sort imports and fix quotation marks 2024-09-10 14:18:37 -07:00
Paul Gauthier (aider)
fb87dd883c test: patch input() to return empty string
This commit patches the `input()` builtin to return an empty string in the test setup, preventing tests from hanging while waiting for user input. It also adds cleanup for the patch in the teardown method.
2024-09-10 14:18:32 -07:00
Paul Gauthier (aider)
8da88eef64 fix: remove unused import of builtins module 2024-09-10 14:09:40 -07:00
Paul Gauthier (aider)
3685f307c7 style: reorder imports in test_io.py 2024-09-10 14:09:33 -07:00
Paul Gauthier (aider)
d5d087123a test: update input mocking in TestInputOutput 2024-09-10 14:09:29 -07:00
paul-gauthier
36553d797f
Merge pull request #1003 from cclauss/patch-1
Fix typos discovered by codespell
2024-09-10 13:38:59 -07:00
Paul Gauthier
8cfdcbd976 refactor: remove redundant get_system_info method and update related test 2024-09-05 13:00:32 -07:00
Paul Gauthier (aider)
45855bd96c feat: add get_system_info method to Coder base class 2024-09-05 12:59:12 -07:00
Paul Gauthier (aider)
b57468a963 test: add test for Spanish chat language option 2024-09-05 12:58:18 -07:00
Paul Gauthier
e4cbbb1fa8 remove eslint as default linter 2024-09-05 12:45:12 -07:00
Paul Gauthier (aider)
7c5cad74ab style: Format code to comply with linter rules 2024-09-04 14:32:38 -07:00
Paul Gauthier (aider)
41e8f4401e fix: make test_get_rel_fname compatible with Windows 2024-09-04 14:32:35 -07:00
Paul Gauthier
937a1cd847 fix: correct string handling in ESLint file path check 2024-09-04 14:06:30 -07:00
Paul Gauthier
168598dad4 test: remove redundant Windows-specific ESLint test 2024-09-04 14:01:25 -07:00
Paul Gauthier (aider)
bd7ff9cca4 style: run linter and fix import order 2024-09-04 14:00:33 -07:00
Paul Gauthier (aider)
51f360ab9f fix: update ESLint command assertion in Windows test 2024-09-04 14:00:30 -07:00
Paul Gauthier
66ae9ae079 test: add debug output for linter languages in TestLinter 2024-09-04 14:00:28 -07:00
Paul Gauthier (aider)
65fd6b444c fix: simplify ESLint Windows test mock 2024-09-04 13:58:46 -07:00
Paul Gauthier (aider)
15abe6b921 style: Format long line in test_get_rel_fname method 2024-09-04 13:57:16 -07:00
Paul Gauthier (aider)
d8027030b0 fix: update ESLint check and test expectations 2024-09-04 13:57:09 -07:00