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")