From 7c1e3c1b6a0b39dda27516f17d8e8e716c1b6b02 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 21 Jul 2023 16:00:19 -0300 Subject: [PATCH] cleanup --- tests/test_main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_main.py b/tests/test_main.py index d45f32c73..8b08c61b1 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -34,9 +34,8 @@ class TestMain(TestCase): def test_main_with_empty_dir_no_files_on_command(self): main(["--no-git"], input=DummyInput(), output=DummyOutput()) - @patch("aider.repo.AiderRepo.get_commit_message", return_value="commit message!") - def test_main_with_empty_dir_new_file(self, _): - main(["foo.txt", "--yes","--no-git"], input=DummyInput(), output=DummyOutput()) + def test_main_with_empty_dir_new_file(self): + main(["foo.txt", "--yes", "--no-git"], input=DummyInput(), output=DummyOutput()) self.assertTrue(os.path.exists("foo.txt")) @patch("aider.repo.AiderRepo.get_commit_message", return_value="mock commit message")