mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 05:14:59 +00:00
Refactor IO instantiation in test_commands.py.
This commit is contained in:
parent
aa8ead2f2e
commit
b0f573bde3
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ from aider.coder import Coder
|
||||||
class TestCommands(unittest.TestCase):
|
class TestCommands(unittest.TestCase):
|
||||||
def test_cmd_add(self):
|
def test_cmd_add(self):
|
||||||
with tempfile.TemporaryDirectory() as tmpdir:
|
with tempfile.TemporaryDirectory() as tmpdir:
|
||||||
io = IO(pretty=False, yes=True, input_history_file="", chat_history_file="")
|
io = IO(pretty=False, yes=True)
|
||||||
coder = Coder(root=tmpdir)
|
coder = Coder(root=tmpdir)
|
||||||
commands = Commands(io, coder)
|
commands = Commands(io, coder)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue