Skip to content

Commit bcb8c80

Browse files
SNOW-2205633: Migrating to new okta (#2407)
1 parent b4b0f1e commit bcb8c80

File tree

4 files changed

+1
-29
lines changed

4 files changed

+1
-29
lines changed
Binary file not shown.

ci/test_authentication.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ docker run \
2323
-v $(cd $THIS_DIR/.. && pwd):/mnt/host \
2424
-v $WORKSPACE:/mnt/workspace \
2525
--rm \
26-
nexus.int.snowflakecomputing.com:8086/docker/snowdrivers-test-external-browser-python:1 \
26+
nexus.int.snowflakecomputing.com:8086/docker/snowdrivers-test-external-browser-python:2 \
2727
"/mnt/host/ci/container/test_authentication.sh"

test/auth/test_snowflake_authorization_code.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -74,28 +74,6 @@ def test_snowflake_authorization_code_timeout():
7474
)
7575

7676

77-
@pytest.mark.auth
78-
def test_snowflake_authorization_code_with_token_cache():
79-
connection_parameters = (
80-
AuthConnectionParameters().get_snowflake_authorization_code_connection_parameters()
81-
)
82-
connection_parameters["external_browser_timeout"] = 15
83-
connection_parameters["client_store_temporary_credential"] = True
84-
test_helper = AuthorizationTestHelper(connection_parameters)
85-
browser_login, browser_password = get_soteria_okta_login_credentials().values()
86-
87-
test_helper.connect_and_provide_credentials(
88-
Scenario.INTERNAL_OAUTH_SNOWFLAKE_SUCCESS, browser_login, browser_password
89-
)
90-
91-
clean_browser_processes()
92-
93-
assert (
94-
test_helper.connect_and_execute_simple_query() is True
95-
), "Connection should be established"
96-
assert test_helper.get_error_msg() == "", "Error message should be empty"
97-
98-
9977
@pytest.mark.auth
10078
def test_snowflake_authorization_code_without_token_cache():
10179
connection_parameters = (

test/auth/test_snowflake_authorization_code_wildcards.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ def setup_and_teardown():
2323
clean_browser_processes()
2424

2525

26-
@pytest.mark.skip(
27-
"temporarily disabled, update redirect uri for the security integration will break other drivers tests"
28-
)
2926
@pytest.mark.auth
3027
def test_snowflake_authorization_code_wildcards_successful():
3128
connection_parameters = (
@@ -41,9 +38,6 @@ def test_snowflake_authorization_code_wildcards_successful():
4138
assert test_helper.error_msg == "", "Error message should be empty"
4239

4340

44-
@pytest.mark.skip(
45-
"temporarily disabled, update redirect uri for the security integration will break other drivers tests"
46-
)
4741
@pytest.mark.auth
4842
def test_snowflake_authorization_code_wildcards_mismatched_user():
4943
connection_parameters = (

0 commit comments

Comments
 (0)