Refactor IO instantiation in test_commands.py.

This commit is contained in:
Paul Gauthier 2023-05-18 17:31:00 -07:00
parent aa8ead2f2e
commit b0f573bde3

View file

@ -9,7 +9,7 @@ from aider.coder import Coder
class TestCommands(unittest.TestCase):
def test_cmd_add(self):
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)
commands = Commands(io, coder)