Commit graph

41 commits

Author SHA1 Message Date
Paul Gauthier (aider)
210500ff3e style: Apply linter formatting to test_models.py 2024-11-19 10:04:23 -08:00
Paul Gauthier (aider)
7c8f10e832 test: Add tests for default and override model settings 2024-11-19 10:04:19 -08:00
Paul Gauthier (aider)
a565a63436 style: Fix import formatting in test_models.py 2024-10-30 13:21:47 -07:00
Paul Gauthier (aider)
a045bda171 refactor: update test to use ModelInfoManager instead of get_model_info 2024-10-30 13:21:43 -07:00
Paul Gauthier
ea3359fb4b test: adjust warning count assertion in model test 2024-10-30 06:33:31 -07:00
Paul Gauthier (aider)
55a2ba4bd6 style: Fix comment formatting in test_models.py 2024-10-30 06:32:22 -07:00
Paul Gauthier (aider)
20ca9c84c7 test: add warning message debug print in model test 2024-10-30 06:32:18 -07:00
Paul Gauthier
0d86124b15 test: add comment about tool warning args inspection 2024-10-30 06:32:17 -07:00
Paul Gauthier
33b45b68e2 copy 2024-10-02 12:03:47 -07:00
Paul Gauthier (aider)
e33e9c44bb fix: import ANY from unittest.mock to resolve undefined name error 2024-10-02 11:21:28 -07:00
Paul Gauthier (aider)
b35bd06eb8 style: format code in test_models.py 2024-10-02 11:21:17 -07:00
Paul Gauthier (aider)
875fb3a178 test: update sanity_check_models_bogus_editor to expect two warnings 2024-10-02 11:21:13 -07:00
Paul Gauthier (aider)
97d6b68613 fix: add missing sanity_check_model import 2024-10-02 11:20:01 -07:00
Paul Gauthier (aider)
21adf405a0 fix: correct imports and model usage in test_models.py 2024-10-02 11:19:38 -07:00
Paul Gauthier (aider)
1a355cbf74 style: format code in test_models.py 2024-10-02 11:19:25 -07:00
Paul Gauthier (aider)
1a3e8b3375 test: update sanity check test to use real Model instances 2024-10-02 11:19:22 -07:00
Paul Gauthier (aider)
da9af264f8 fix: import sanity_check_models in test_models.py 2024-10-02 11:17:53 -07:00
Paul Gauthier (aider)
93cb615ffd test: add test for sanity check with bogus editor model 2024-10-02 11:15:27 -07:00
Paul Gauthier (aider)
7e55a8f684 style: Format code in test_models.py to improve readability 2024-10-02 11:15:09 -07:00
Paul Gauthier (aider)
433223a7fc test: add sanity check for bogus editor model 2024-10-02 11:15:05 -07:00
Paul Gauthier
924eeb43de fix: Update test assertions for API key checks 2024-09-23 11:34:49 -07:00
Paul Gauthier (aider)
98835d1f6d test: update sanity check tests to use tool_output instead of tool_warning 2024-09-03 17:21:06 -07:00
Paul Gauthier (aider)
d8c78cf8cd test: update sanity_check_model tests to use tool_warning 2024-09-03 13:50:10 -07:00
Paul Gauthier
5481d4385e fix: Remove redundant assertion from test cases 2024-08-26 14:44:18 -07:00
Paul Gauthier (aider)
0a05f7efd7 fix: Ensure tool_error is called at least once in tests 2024-08-26 14:43:42 -07:00
Paul Gauthier (aider)
fefe6f7424 fix: Remove unused import statement in tests/basic/test_models.py 2024-08-26 14:43:00 -07:00
Paul Gauthier (aider)
f74fa16e4a style: Fix import order in test_models.py 2024-08-26 14:42:26 -07:00
Paul Gauthier (aider)
abf19a61cf feat: Add tests for sanity_check_model function 2024-08-26 14:42:24 -07:00
Paul Gauthier (aider)
2849c8bf78 fix: Remove unused imports in tests/basic/test_models.py 2024-08-25 09:54:49 -07:00
Paul Gauthier
27f9b7a251 fix: Remove unused imports and tests in test_models.py 2024-08-25 09:54:43 -07:00
Paul Gauthier (aider)
4200c575f8 feat: add tests for get_model_info 2024-08-25 09:47:53 -07:00
Paul Gauthier (aider)
cf3d7f7064 fix: Remove unused imports in tests/basic/test_models.py 2024-08-25 09:39:47 -07:00
Paul Gauthier
1edd046d08 fix: Reduce max_input_tokens in test_models 2024-08-25 09:39:41 -07:00
Paul Gauthier
b67914d74e fix: Improve model info caching and fallback logic 2024-08-25 09:39:26 -07:00
Paul Gauthier (aider)
7ef1b21a3f chore: Run the linter 2024-08-25 08:26:03 -07:00
Paul Gauthier (aider)
710484386a fix: Mock file system operations in test_get_model_info 2024-08-25 08:26:00 -07:00
Paul Gauthier (aider)
6b0c98c799 style: Fix linter issues in test_models.py 2024-08-25 08:24:14 -07:00
Paul Gauthier (aider)
27015c2c62 fix: Patch requests.get directly in tests 2024-08-25 08:24:11 -07:00
Paul Gauthier (aider)
69fcdd4a13 style: Run linter 2024-08-25 08:23:26 -07:00
Paul Gauthier (aider)
8d532effc8 feat: Add tests for get_model_info function 2024-08-25 08:23:23 -07:00
Paul Gauthier
896e79bcd1 use pytest.ini testpaths to order testing 2024-07-16 10:33:42 +01:00
Renamed from tests/test_models.py (Browse further)