aider/tests
Paul Gauthier 4956c35870 aider: Updated Coder to use the create class method in tests.
# Context:
USER: Coder has been changed to use the `create` class method. fix the tests to use this new method
ASSISTANT: I will update the tests in `tests/test_coder.py` to use the `create` class method.

```python
tests/test_coder.py
<<<<<<< ORIGINAL
        coder = Coder(io=mock_io, openai_api_key="fake_key")
=======
        coder = Coder.create(main_model=models.GPT4, io=mock_io, openai_api_key="fake_key")
>>>>>>> UPDATED
```

Please let me know if you need any further changes.
2023-06-20 17:16:06 -07:00
..
__init__.py aider: Added empty __init__.py file to tests directory to fix ModuleNotFoundError when running tests. 2023-05-11 17:12:42 -07:00
test_coder.py aider: Updated Coder to use the create class method in tests. 2023-06-20 17:16:06 -07:00
test_commands.py patch check_model_availability in tests 2023-06-01 08:58:35 -07:00
test_io.py isort 2023-05-28 22:47:38 -07:00
test_main.py aider: Added patch to setUp method and stored mock object as an instance variable. 2023-06-01 08:54:15 -07:00
test_repomap.py Return files without any tags at all at the tail of the ranked_tags list 2023-06-04 14:53:14 -07:00
test_utils.py refac 2023-06-20 16:59:55 -07:00