From 49aa71e654344d118c9239af5149fd519b532c52 Mon Sep 17 00:00:00 2001 From: Skynet Date: Tue, 26 Sep 2023 00:10:18 +0200 Subject: [PATCH] Fix: url-encoding in Snowflake tests --- tests/load/snowflake/test_snowflake_configuration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/load/snowflake/test_snowflake_configuration.py b/tests/load/snowflake/test_snowflake_configuration.py index 628da2dd0f..c053d34d5b 100644 --- a/tests/load/snowflake/test_snowflake_configuration.py +++ b/tests/load/snowflake/test_snowflake_configuration.py @@ -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) @@ -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()