Skip to content

Commit 3c5f003

Browse files
authored
Fix: Recover lost fix for webbrowser.open mock (#1052)
1 parent 56a422e commit 3c5f003

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/test_install.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,7 @@ def test_remove_warehouse_not_exists(ws, caplog):
777777

778778

779779
def test_repair_run(ws, mocker, any_prompt, mock_installation_with_jobs):
780+
mocker.patch("webbrowser.open")
780781
base = [
781782
BaseRun(
782783
job_clusters=None,
@@ -1214,6 +1215,7 @@ def test_fresh_install(ws, mock_installation):
12141215

12151216

12161217
def test_get_existing_installation_global(ws, mock_installation, mocker):
1218+
mocker.patch("webbrowser.open")
12171219
prompts = MockPrompts(
12181220
{
12191221
r".*PRO or SERVERLESS SQL warehouse.*": "1",

0 commit comments

Comments
 (0)