Skip to content

Commit bac7f2b

Browse files
committed
chore: remove test_connector_with_credentail test
1 parent 40c261b commit bac7f2b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/system/test_connector_object.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,6 @@ def getconn() -> pymysql.connections.Connection:
5050
return pool
5151

5252

53-
def test_connector_with_credentials() -> None:
54-
"""Test Connector object connection with credentials loaded from file."""
55-
credentials, _ = google.auth.load_credentials_from_file(
56-
os.environ["GOOGLE_APPLICATION_CREDENTIALS"]
57-
)
58-
with Connector(credentials=credentials) as connector:
59-
pool = init_connection_engine(connector)
60-
61-
with pool.connect() as conn:
62-
result = conn.execute(sqlalchemy.text("SELECT 1")).fetchone()
63-
assert isinstance(result[0], int)
64-
assert result[0] == 1
65-
66-
6753
def test_multiple_connectors() -> None:
6854
"""Test that same Cloud SQL instance can connect with two Connector objects."""
6955
first_connector = Connector()

0 commit comments

Comments
 (0)