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 |
|
Paul Gauthier
|
d7279a1129
|
fix: Remove unused get_last_modified method from Coder class
|
2024-08-22 14:01:20 -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 (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
|
283ac13d2c
|
Fix tests to use new GitRepo
|
2024-08-01 15:25:31 -03:00 |
|
Paul Gauthier (aider)
|
122eb8834a
|
Normalize file paths to resolve symbolic links in macOS when comparing absolute file names between coders.
|
2024-07-29 17:26:14 -03:00 |
|
Paul Gauthier
|
7baa4a802e
|
Add test to ensure abs_fnames contain unique and correct paths
|
2024-07-29 17:26:12 -03:00 |
|
Paul Gauthier
|
b69bf02115
|
Refactor Coder creation to use file name instead of string representation
|
2024-07-29 17:05:20 -03:00 |
|
Paul Gauthier (aider)
|
775dd9e6b8
|
Create a new file in a subdirectory of a git repository, then create a Coder instance from that file and another Coder instance from the first one, ensuring both have the same set of absolute file names.
|
2024-07-29 16:57:19 -03:00 |
|
Paul Gauthier
|
149db2e5fe
|
Add test for creating a Coder from another Coder with a subdirectory
|
2024-07-29 16:57:16 -03:00 |
|
Paul Gauthier
|
8a9184cef9
|
Fix tests for check_for_urls
|
2024-07-28 16:48:59 -03:00 |
|
Paul Gauthier (aider)
|
a0eadb62c5
|
Add test case for check_for_urls to handle repeated URLs
|
2024-07-28 16:40:39 -03:00 |
|