From 1418292f02c3158ff000bef123d186ad35099182 Mon Sep 17 00:00:00 2001 From: Ziyuan Qin Date: Wed, 13 Mar 2024 21:35:38 -0700 Subject: [PATCH] recover lost fix for webbrowser.open mock --- tests/unit/test_install.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/test_install.py b/tests/unit/test_install.py index 4e0fe9a24b..5574d4df80 100644 --- a/tests/unit/test_install.py +++ b/tests/unit/test_install.py @@ -777,6 +777,7 @@ def test_remove_warehouse_not_exists(ws, caplog): def test_repair_run(ws, mocker, any_prompt, mock_installation_with_jobs): + mocker.patch("webbrowser.open") base = [ BaseRun( job_clusters=None, @@ -1214,6 +1215,7 @@ def test_fresh_install(ws, mock_installation): def test_get_existing_installation_global(ws, mock_installation, mocker): + mocker.patch("webbrowser.open") prompts = MockPrompts( { r".*PRO or SERVERLESS SQL warehouse.*": "1",