Skip to content

Commit 62a3bd8

Browse files
1 parent e3b874b commit 62a3bd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/snowflake/connector/auth_keypair.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def authenticate(
6161
account = account.partition("-")[0]
6262
else:
6363
account = account.partition(".")[0]
64-
account = account.upper().replace("-", "_")
64+
account = account.upper()
6565
user = user.upper()
6666

6767
now = datetime.utcnow()

test/integ/test_key_pair_authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"input_account,expected_account",
2323
[
2424
("s3testaccount.global", "S3TESTACCOUNT.GLOBAL"),
25-
("acct-with-dashes", "ACCT_WITH_DASHES"),
25+
("acct-with-dashes", "ACCT-WITH-DASHES"),
2626
("testaccount.extra", "TESTACCOUNT"),
2727
("testaccount-user.global", "TESTACCOUNT"),
2828
("normalaccount", "NORMALACCOUNT"),

0 commit comments

Comments
 (0)