Skip to content

Commit 5e921d8

Browse files
SNOW-2183023: fixed test proxies
1 parent 9fbda91 commit 5e921d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/test_proxies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def mock_proxy_manager_for_url_wiht_header(*args, **kwargs):
6060

6161
# bad path
6262
with unittest.mock.patch(
63-
"snowflake.connector.network.ProxySupportAdapter.proxy_manager_for",
63+
"snowflake.connector.session_manager.ProxySupportAdapter.proxy_manager_for",
6464
mock_proxy_manager_for_url_no_header,
6565
):
6666
with pytest.raises(OperationalError):
@@ -77,7 +77,7 @@ def mock_proxy_manager_for_url_wiht_header(*args, **kwargs):
7777

7878
# happy path
7979
with unittest.mock.patch(
80-
"snowflake.connector.network.ProxySupportAdapter.proxy_manager_for",
80+
"snowflake.connector.session_manager.ProxySupportAdapter.proxy_manager_for",
8181
mock_proxy_manager_for_url_wiht_header,
8282
):
8383
with pytest.raises(OperationalError):

0 commit comments

Comments
 (0)