mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
fix Coder.create
This commit is contained in:
parent
cb5d2450ec
commit
59a54f5f83
1 changed files with 5 additions and 1 deletions
|
@ -378,7 +378,11 @@ class TestCoder(unittest.TestCase):
|
||||||
|
|
||||||
# Create a Coder object on the temporary directory
|
# Create a Coder object on the temporary directory
|
||||||
coder = Coder.create(
|
coder = Coder.create(
|
||||||
models.GPT4, None, io=InputOutput(), openai_api_key="fake_key", root=tempdir
|
models.GPT4,
|
||||||
|
None,
|
||||||
|
io=InputOutput(),
|
||||||
|
openai_api_key="fake_key",
|
||||||
|
fnames=[str(tempdir / filenames[0])],
|
||||||
)
|
)
|
||||||
|
|
||||||
# Assert that coder.get_tracked_files() returns the three filenames
|
# Assert that coder.get_tracked_files() returns the three filenames
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue