Skip to content

Commit

Permalink
Fix a test to align with server side BCR (#2065)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-yuwang authored Oct 7, 2024
1 parent 3c82559 commit aeb771c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integ/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
ER_NO_ACCOUNT_NAME,
ER_NOT_IMPLICITY_SNOWFLAKE_DATATYPE,
)
from snowflake.connector.errors import Error
from snowflake.connector.errors import Error, InterfaceError
from snowflake.connector.network import APPLICATION_SNOWSQL, ReauthenticationRequest
from snowflake.connector.sqlstate import SQLSTATE_FEATURE_NOT_SUPPORTED
from snowflake.connector.telemetry import TelemetryField
Expand Down Expand Up @@ -555,7 +555,7 @@ def test_eu_connection(tmpdir):
import os

os.environ["SF_OCSP_RESPONSE_CACHE_SERVER_ENABLED"] = "true"
with pytest.raises(OperationalError):
with pytest.raises(InterfaceError):
# must reach Snowflake
snowflake.connector.connect(
account="testaccount1234",
Expand Down

0 comments on commit aeb771c

Please sign in to comment.