Paul Gauthier (aider)
|
a5c8c534c1
|
fix: Remove unnecessary f-string prefix in test case
|
2025-03-22 13:26:19 -07:00 |
|
Paul Gauthier (aider)
|
24159dda58
|
style: Format test_coder.py for readability
|
2025-03-22 13:26:03 -07:00 |
|
Paul Gauthier (aider)
|
ad0a2b3260
|
test: Add test cases for bold format file mentions
|
2025-03-22 13:25:58 -07:00 |
|
Paul Gauthier (aider)
|
7e51c68fde
|
style: Format code according to linter rules
|
2025-03-22 13:23:52 -07:00 |
|
Paul Gauthier (aider)
|
3b376a15b7
|
test: Add comprehensive test for get_file_mentions with various formats
|
2025-03-22 13:23:46 -07:00 |
|
Paul Gauthier
|
92377fc390
|
fix: Add missing MagicMock import in test_coder.py
|
2025-03-12 13:45:10 -07:00 |
|
Paul Gauthier (aider)
|
79b8e50412
|
fix: Mock InputOutput object correctly in test_architect_coder_auto_accept_true
|
2025-03-12 13:42:27 -07:00 |
|
Paul Gauthier (aider)
|
b5cd39cc50
|
fix: Add mock for confirm_ask method in test_architect_coder_auto_accept_true
|
2025-03-12 13:41:39 -07:00 |
|
Paul Gauthier (aider)
|
63c2a98f3c
|
fix: Add missing summarizer mock to ArchitectCoder tests
|
2025-03-12 13:41:10 -07:00 |
|
Paul Gauthier (aider)
|
c168f78a13
|
fix: Initialize cur_messages and done_messages in ArchitectCoder test cases
|
2025-03-12 13:40:15 -07:00 |
|
Paul Gauthier (aider)
|
42d45b4037
|
fix: Remove unused import of ANY from unittest.mock
|
2025-03-12 13:39:42 -07:00 |
|
Paul Gauthier (aider)
|
c41df63629
|
style: Reorder imports and fix whitespace in test_coder.py
|
2025-03-12 13:38:48 -07:00 |
|
Paul Gauthier (aider)
|
330bb81206
|
test: Add tests for auto_accept_architect feature in ArchitectCoder
|
2025-03-12 13:38:41 -07:00 |
|
Paul Gauthier
|
249ca4fd75
|
remove useless tests
|
2025-02-07 08:51:20 -08:00 |
|
Paul Gauthier (aider)
|
d382869b98
|
style: Apply linter formatting to test_coder.py
|
2025-02-07 08:47:39 -08:00 |
|
Paul Gauthier (aider)
|
41a3c27aba
|
feat: Update system prompt prefix tests to check first line
|
2025-02-07 08:47:33 -08:00 |
|
Paul Gauthier (aider)
|
af48c46c30
|
style: Fix linting issues in test_coder.py
|
2025-02-07 08:39:39 -08:00 |
|
Paul Gauthier (aider)
|
52bc51a197
|
test: Add tests for system_prompt_prefix functionality
|
2025-02-07 08:39:33 -08:00 |
|
Paul Gauthier
|
30b150dbfc
|
refactor: Simplify test assertions and remove redundant checks
|
2025-01-22 10:17:21 -08:00 |
|
Paul Gauthier (aider)
|
40ee3b1b45
|
style: Reorder imports in test_coder.py
|
2025-01-22 10:05:02 -08:00 |
|
Paul Gauthier (aider)
|
c79217dd75
|
fix: Add missing imports for FinishReasonLength and sanity_check_messages
|
2025-01-22 10:04:58 -08:00 |
|
Paul Gauthier (aider)
|
075d4d4210
|
test: add tests for message integrity after interrupts and token limits
|
2025-01-22 10:03:51 -08:00 |
|
Paul Gauthier
|
b2232cda7b
|
refactor: modify check_for_urls to return modified input string
|
2024-11-26 15:04:19 -08:00 |
|
Paul Gauthier (aider)
|
e647a5b733
|
feat: add tests for UnknownEditFormat exception handling
|
2024-11-26 07:04:43 -08:00 |
|
Paul Gauthier (aider)
|
df1d259e42
|
style: Fix linting issues in test_coder.py
|
2024-11-26 07:04:21 -08:00 |
|
Paul Gauthier (aider)
|
e3efab7fbf
|
test: add UnknownEditFormat exception tests
|
2024-11-26 07:04:15 -08:00 |
|
Paul Gauthier (aider)
|
b4d1b71ee7
|
test: add test for skipping duplicate basename file mentions
|
2024-11-26 06:46:53 -08:00 |
|
Paul Gauthier
|
01c7793e90
|
revert changes to get_ident_filename_matches()
|
2024-11-26 06:41:08 -08:00 |
|
Paul Gauthier (aider)
|
0398deb005
|
test: add tests for filename matching with existing and read-only files
|
2024-11-26 06:24:11 -08:00 |
|
Paul Gauthier (aider)
|
c84e192324
|
style: remove extra blank line in test_coder.py
|
2024-11-25 18:42:09 -08:00 |
|
Paul Gauthier (aider)
|
d696673f07
|
test: remove shell command testing from URL detection test
|
2024-11-25 18:42:03 -08:00 |
|
Paul Gauthier (aider)
|
2957d463c9
|
test: add assertion for suggest_shell_commands flag
|
2024-11-25 18:41:21 -08:00 |
|
Paul Gauthier (aider)
|
af48e50898
|
test: add tests for URL detection functionality in Coder class
|
2024-11-25 18:39:49 -08:00 |
|
Paul Gauthier
|
2962e51dac
|
test: Add webbrowser patching to TestCoder and fix argument order in test_sanity_check_repo
|
2024-11-07 11:48:17 -08:00 |
|
Paul Gauthier
|
cfe1d540f1
|
update fence test to use backticks at start of line
|
2024-09-21 10:42:58 -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 (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 |
|
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 (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 |
|