Commit graph

19 commits

Author SHA1 Message Date
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
Paul Gauthier
c99c5db35c updated coder test 2024-07-18 16:35:27 +01:00
Paul Gauthier (aider)
07550d6f5f Added tests to exercise all combinations of path formats for get_file_mentions and get_addable_relative_files, and updated the get_file_mentions method to handle both Unix and Windows path formats. 2024-07-18 15:19:32 +01:00
Paul Gauthier
896e79bcd1 use pytest.ini testpaths to order testing 2024-07-16 10:33:42 +01:00
Renamed from tests/test_coder.py (Browse further)