Commit graph

84 commits

Author SHA1 Message Date
Paul Gauthier (aider)
cc2706d8dd style: Fix import order in test_repomap.py 2024-08-23 11:43:14 -07:00
Paul Gauthier (aider)
6630fd2e4f fix: Add missing imports for re and difflib modules 2024-08-23 11:43:11 -07:00
Paul Gauthier (aider)
d373c82730 fix: Remove unused imports in tests/basic/test_repomap.py 2024-08-23 11:42:14 -07:00
Paul Gauthier (aider)
a223ddce8b fix: Remove unused imports and adjust code to use existing modules 2024-08-23 11:41:43 -07:00
Paul Gauthier (aider)
7015c03a01 style: Run linter on tests/basic/test_repomap.py 2024-08-23 11:40:43 -07:00
Paul Gauthier (aider)
e456317a68 chore: move import re and difflib to top of file 2024-08-23 11:40:40 -07:00
Paul Gauthier (aider)
26765cd89a style: Normalize path separators for Windows 2024-08-23 11:40:00 -07:00
Paul Gauthier (aider)
97a75ea471 fix: Normalize file path separators for Windows in test_repo_map_sample_code_base 2024-08-23 11:39:57 -07:00
Paul Gauthier (aider)
2d5b481205 fix: Read expected_map_file with utf8 encoding 2024-08-23 11:38:36 -07:00
Paul Gauthier
f5e27cee8a finish repo map fixture test 2024-08-23 10:16:16 -07:00
Paul Gauthier (aider)
c38d482db3 style: Format code with black 2024-08-23 10:14:04 -07:00
Paul Gauthier (aider)
626a89364d feat: Pass repomap_root as parent of parent of parent directory 2024-08-23 10:14:01 -07:00
Paul Gauthier
eb7870c2c1 fix: Convert generated repo map to string before comparison 2024-08-23 10:14:00 -07:00
Paul Gauthier (aider)
0ee35556ef style: Format code using linter 2024-08-23 10:04:32 -07:00
Paul Gauthier (aider)
9228a57b66 fix: Compare generated repo map with expected map 2024-08-23 10:04:28 -07:00
Paul Gauthier
12e406e711 fix: Remove unnecessary code for writing generated repo map to file 2024-08-23 10:04:27 -07:00
Paul Gauthier (aider)
f5d4cbfb2e fix: Add import for Path class in test_repomap.py 2024-08-23 10:02:54 -07:00
Paul Gauthier (aider)
0a01a5ca2f style: Run linter 2024-08-23 10:01:34 -07:00
Paul Gauthier (aider)
a59ebd1913 feat: add test for repo map generation using sample code base 2024-08-23 10:01:30 -07:00
Paul Gauthier
ccf77e874d fix win tests ci 2024-08-20 07:57:41 -07:00
Paul Gauthier
e7fdce0b75 fix: Update test_repomap.py to ensure RepoMap does not change with refresh='files' 2024-08-19 15:56:10 -07:00
Paul Gauthier (aider)
ba6ec1a94c style: Format code for better readability 2024-08-19 15:53:59 -07:00
Paul Gauthier (aider)
66dc844977 refactor: Update test_repo_map_refresh_files 2024-08-19 15:53:56 -07:00
Paul Gauthier (aider)
1f29186240 fix: Add import for time module 2024-08-19 15:52:47 -07:00
Paul Gauthier (aider)
0ba9f63365 style: Format code with linter 2024-08-19 15:52:35 -07:00
Paul Gauthier (aider)
339c03dd90 feat: Add test case for RepoMap refresh="auto" 2024-08-19 15:52:32 -07:00
Paul Gauthier
d875e7ebe0 feat: Add a new source file and update the RepoMap test 2024-08-19 15:50:06 -07:00
Paul Gauthier (aider)
56210468f7 feat: Use GitTemporaryDirectory and import git instead of os.system 2024-08-19 15:41:09 -07:00
Paul Gauthier (aider)
b0d8778752 style: Fix code formatting in OCaml test file 2024-08-19 15:40:06 -07:00
Paul Gauthier (aider)
b361310e56 feat: Add test for RepoMap refresh with files 2024-08-19 15:40:03 -07:00
Paul Gauthier
4a3ea08b49 Add OCaml test case for repomap 2024-07-30 15:03:54 -03:00
Paul Gauthier
bb86fed9f6 disable ocaml test for now, until fixed 2024-07-24 09:41:25 +02:00
Paul Gauthier (aider)
9db28c0052 Added a new test case to ensure the RepoMap class can handle and include files from all supported languages. 2024-07-24 09:24:52 +02:00
Paul Gauthier
896e79bcd1 use pytest.ini testpaths to order testing 2024-07-16 10:33:42 +01:00
Renamed from tests/test_repomap.py (Browse further)