From 6900e7a282c3d34061ddea9d6ca8b2f224290b18 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 19 May 2023 09:09:36 -0700 Subject: [PATCH] byebye --- tests/test_commands.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 tests/test_commands.py diff --git a/tests/test_commands.py b/tests/test_commands.py deleted file mode 100644 index 74f79e684..000000000 --- a/tests/test_commands.py +++ /dev/null @@ -1,23 +0,0 @@ -import os -import tempfile -from unittest import TestCase -from aider.io import InputOutput -from aider.coder import Coder -from aider.commands import Commands - -class TestCommands(TestCase): - def test_cmd_add(self): - with tempfile.TemporaryDirectory() as tmpdir: - original_cwd = os.getcwd() - os.chdir(tmpdir) - - io = InputOutput(pretty=True, yes=True) - coder = Coder(io) - commands = Commands(io, coder) - - commands.cmd_add('foo.txt bar.txt') - - self.assertTrue(os.path.exists('foo.txt')) - self.assertTrue(os.path.exists('bar.txt')) - - os.chdir(original_cwd)