From f4bc22e4fc06570c581ae4c36b19518558e6a485 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 1 Jun 2023 08:46:42 -0700 Subject: [PATCH] wip --- tests/test_main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_main.py b/tests/test_main.py index 2645c2ea8..e79d9ef39 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -21,9 +21,8 @@ class TestMain(TestCase): self.tempdir = tempfile.mkdtemp() os.chdir(self.tempdir) - with patch("aider.coder.Coder.check_model_availability") as mock_check: + with patch("aider.main.Coder.check_model_availability") as mock_check: mock_check.return_value = True - self.mock_check = mock_check def tearDown(self): os.chdir(self.original_cwd)