mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
wip
This commit is contained in:
parent
f4bc22e4fc
commit
c97a0ce30a
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ class TestMain(TestCase):
|
||||||
self.tempdir = tempfile.mkdtemp()
|
self.tempdir = tempfile.mkdtemp()
|
||||||
os.chdir(self.tempdir)
|
os.chdir(self.tempdir)
|
||||||
|
|
||||||
with patch("aider.main.Coder.check_model_availability") as mock_check:
|
self.mock_check = patch("aider.main.Coder.check_model_availability")
|
||||||
mock_check.return_value = True
|
self.mock_check.return_value = True
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
os.chdir(self.original_cwd)
|
os.chdir(self.original_cwd)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue