Commit graph

178 commits

Author SHA1 Message Date
Paul Gauthier (aider)
cef421dfc0 feat: Add patch for InputOutput in test_main_exit_calls_version_check 2024-08-13 05:29:18 -07:00
Paul Gauthier
fcf758527a fix: Call check_version in main with input and output arguments 2024-08-13 05:29:17 -07:00
Paul Gauthier (aider)
58f06e1f56 feat: add GitTemporaryDirectory to test_main_exit_calls_version_check 2024-08-13 05:26:12 -07:00
Paul Gauthier (aider)
a30a27fa8a feat: add test for main --exit that confirms version_check is called 2024-08-13 05:25:36 -07:00
Paul Gauthier (aider)
fdc728e286 fix: Remove pretty argument from Coder.create method calls 2024-08-10 09:00:14 -07:00
Paul Gauthier (aider)
366da70907 fix: Resolve symlinks in external file path for test 2024-08-09 16:44:21 -04:00
Paul Gauthier (aider)
3549ed1205 style: Fix formatting and linting issues in test_main.py 2024-08-09 16:43:27 -04:00
Paul Gauthier (aider)
da5ea3a767 feat: add test for reading external file with --read option 2024-08-09 16:43:08 -04:00
Paul Gauthier (aider)
27a1d9e60f style: Fix linter issues in test_main.py 2024-08-09 16:41:22 -04:00
Paul Gauthier (aider)
6146ea0189 feat: Add test for --read option 2024-08-09 16:41:02 -04:00
Paul Gauthier
fb0691914c fix: Use repo map only when map_tokens is greater than 0 2024-08-06 09:11:21 -03:00
Paul Gauthier (aider)
e20657096f fix: Properly mock RepoMap in test_map_tokens_option 2024-08-06 09:09:52 -03:00
Paul Gauthier
b04d77e345 fix: Update test_main.py to use the correct RepoMap import path 2024-08-06 09:09:51 -03:00
Paul Gauthier (aider)
d34da62b12 fix: Resolve issues in test_main.py 2024-08-06 09:07:40 -03:00
Paul Gauthier
ec7a212b60 fix: Update import path for RepoMap in test_main.py 2024-08-06 09:07:39 -03:00
Paul Gauthier (aider)
ce7cc137fb feat: add --yes flag to map tokens tests 2024-08-06 09:04:41 -03:00
Paul Gauthier (aider)
07aa969860 style: Format code with consistent indentation and line breaks 2024-08-06 09:04:04 -03:00
Paul Gauthier (aider)
45f6f88a46 feat: Add tests for --map-tokens option 2024-08-06 09:04:01 -03:00
Paul Gauthier (aider)
97688b91ee style: Fix linter issues in test_main.py 2024-08-01 17:02:34 -03:00
Paul Gauthier (aider)
f14de907f3 fix: Use os.path.sep for portable path separator 2024-08-01 17:02:31 -03:00
Paul Gauthier (aider)
2a4b6da1d9 test: Ensure Linter is called with correct filename 2024-08-01 16:58:51 -03:00
Paul Gauthier
f696d0933f fix: Update test_lint_option to handle dirty file in root directory 2024-08-01 16:58:50 -03:00
Paul Gauthier (aider)
bb279d6899 feat: Add test for --lint option 2024-08-01 16:42:12 -03:00
Paul Gauthier
aad52eaae2 fix: Update Coder import path in test_main.py 2024-08-01 15:32:39 -03:00
Paul Gauthier (aider)
d31eef3fc6 Mocked Path.home() in addition to setting os.environ["HOME"] in the test_env_file_override function. 2024-07-18 17:42:50 +01:00
Paul Gauthier
e36d47cfdb Added tests and fix for env file precedence #868 2024-07-18 17:20:58 +01:00
Paul Gauthier (aider)
c9bcc1aa57 Added a test to check the .env file override behavior as described in the documentation. 2024-07-18 17:07:38 +01:00
Paul Gauthier
896e79bcd1 use pytest.ini testpaths to order testing 2024-07-16 10:33:42 +01:00
Renamed from tests/test_main.py (Browse further)