From 67cc9744548b003456837e928ac194e36d4a99ab Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 18 Apr 2024 14:57:51 -0700 Subject: [PATCH] fixed test_main --- tests/test_main.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_main.py b/tests/test_main.py index 4a9bc408d..dfcaaa8fb 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -22,14 +22,10 @@ class TestMain(TestCase): self.original_cwd = os.getcwd() self.tempdir = tempfile.mkdtemp() os.chdir(self.tempdir) - self.patcher = patch("aider.coders.base_coder.check_model_availability") - self.mock_check = self.patcher.start() - self.mock_check.return_value = True def tearDown(self): os.chdir(self.original_cwd) shutil.rmtree(self.tempdir, ignore_errors=True) - self.patcher.stop() def test_main_with_empty_dir_no_files_on_command(self): main(["--no-git"], input=DummyInput(), output=DummyOutput())