diff --git a/tests/system/test_connector_object.py b/tests/system/test_connector_object.py index 258b80aa..ffd8b5f1 100644 --- a/tests/system/test_connector_object.py +++ b/tests/system/test_connector_object.py @@ -20,7 +20,6 @@ import os from threading import Thread -import google.auth import pymysql import pytest import sqlalchemy @@ -50,20 +49,6 @@ def getconn() -> pymysql.connections.Connection: return pool -def test_connector_with_credentials() -> None: - """Test Connector object connection with credentials loaded from file.""" - credentials, _ = google.auth.load_credentials_from_file( - os.environ["GOOGLE_APPLICATION_CREDENTIALS"] - ) - with Connector(credentials=credentials) as connector: - pool = init_connection_engine(connector) - - with pool.connect() as conn: - result = conn.execute(sqlalchemy.text("SELECT 1")).fetchone() - assert isinstance(result[0], int) - assert result[0] == 1 - - def test_multiple_connectors() -> None: """Test that same Cloud SQL instance can connect with two Connector objects.""" first_connector = Connector()