mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fixed test
This commit is contained in:
parent
82e7dcb7ba
commit
3f5e4130ea
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
import os
|
||||
import tempfile
|
||||
from unittest import TestCase
|
||||
from unittest.mock import MagicMock
|
||||
from aider.commands import Commands
|
||||
from aider.io import InputOutput
|
||||
|
||||
|
@ -16,7 +15,7 @@ class TestCommands(TestCase):
|
|||
io = InputOutput(pretty=False, yes=True)
|
||||
from aider.coder import Coder
|
||||
|
||||
coder = Coder(io)
|
||||
coder = Coder(io, openai_api_key="deadbeef")
|
||||
commands = Commands(io, coder)
|
||||
|
||||
# Call the cmd_add method with 'foo.txt' and 'bar.txt' as a single string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue