fix: Update webbrowser patch to use correct module path

This commit is contained in:
Paul Gauthier 2024-11-07 11:35:40 -08:00 committed by Paul Gauthier (aider)
parent d43a01f182
commit ae970cf2da

View file

@ -32,7 +32,7 @@ class TestMain(TestCase):
os.environ["HOME"] = self.homedir_obj.name
self.input_patcher = patch("builtins.input", return_value=None)
self.mock_input = self.input_patcher.start()
self.webbrowser_patcher = patch("webbrowser.open")
self.webbrowser_patcher = patch("aider.io.webbrowser.open")
self.mock_webbrowser = self.webbrowser_patcher.start()
def tearDown(self):