Skip to content

Commit

Permalink
Fix: url-encoding in Snowflake tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Skynet committed Sep 25, 2023
1 parent f565ca4 commit 49aa71e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/load/snowflake/test_snowflake_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


def test_connection_string_with_all_params() -> None:
url = "snowflake://user1:pass1@host1/db1?warehouse=warehouse1&role=role1&private_key=cGsK&private_key_passphrase=paphr"
url = "snowflake://user1:pass1@host1/db1?warehouse=warehouse1&role=role1&private_key=cGs%3D&private_key_passphrase=paphr"

creds = SnowflakeCredentials()
creds.parse_native_representation(url)
Expand Down Expand Up @@ -60,7 +60,7 @@ def test_to_connector_params() -> None:
warehouse='warehouse1',
role='role1',
)

pkey_str = Path('./tests/common/cases/secrets/encrypted-private-key-base64').read_text('utf8')

creds = SnowflakeCredentials()
Expand Down

0 comments on commit 49aa71e

Please sign in to comment.