mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
test: Add webbrowser patching to TestCoder and fix argument order in test_sanity_check_repo
This commit is contained in:
parent
cf5733b237
commit
2962e51dac
2 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,8 @@ from aider.utils import GitTemporaryDirectory
|
|||
class TestCoder(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.GPT35 = Model("gpt-3.5-turbo")
|
||||
self.webbrowser_patcher = patch("aider.io.webbrowser.open")
|
||||
self.mock_webbrowser = self.webbrowser_patcher.start()
|
||||
|
||||
def test_allowed_to_edit(self):
|
||||
with GitTemporaryDirectory():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue