Commit graph

16 commits

Author SHA1 Message Date
Paul Gauthier (aider)
1a3221e400 fix: Remove unused import of InputOutput from aider.io 2024-08-01 15:46:59 -03:00
Paul Gauthier
1d875cc5f0 fix: Remove unnecessary assertions in test_scripting.py 2024-08-01 15:46:53 -03:00
Paul Gauthier (aider)
d2dc79978e style: Fix linter issues in test_scripting.py 2024-08-01 15:44:58 -03:00
Paul Gauthier (aider)
a4b6dea54d feat: use GitTemporaryDirectory for scripting tests 2024-08-01 15:44:55 -03:00
Paul Gauthier
99ce27f151 fix: Set partial_response_function_call to None in mock_send_side_effect 2024-08-01 15:44:54 -03:00
Paul Gauthier (aider)
bde6bb5c18 style: format code with linter 2024-08-01 15:42:48 -03:00
Paul Gauthier (aider)
96940a319a fix: Handle functions argument in test mocks 2024-08-01 15:42:44 -03:00
Paul Gauthier
8a6f1337f6 fix: Move mock_send_side_effect definition before its usage 2024-08-01 15:42:43 -03:00
Paul Gauthier (aider)
58a732312b fix: Remove unused import of MagicMock 2024-08-01 15:40:45 -03:00
Paul Gauthier (aider)
f23c1c94fa style: format code 2024-08-01 15:40:25 -03:00
Paul Gauthier (aider)
830868605b fix: Set coder.partial_response_content in mocked send() method 2024-08-01 15:40:23 -03:00
Paul Gauthier (aider)
82a0e5ec40 style: format code to improve readability 2024-08-01 15:37:37 -03:00
Paul Gauthier (aider)
4eb8be9d06 fix: Mock Coder.send() instead of Coder.create and Model 2024-08-01 15:37:34 -03:00
Paul Gauthier (aider)
b29a6e8fa4 style: Format Python code with black 2024-08-01 15:36:29 -03:00
Paul Gauthier (aider)
a480b90217 feat: add unit tests for Python scripting API 2024-08-01 15:36:26 -03:00
Paul Gauthier
f7d0f0c604 feat: Add basic scripting tests 2024-08-01 15:36:24 -03:00