diff --git a/tests/unit/mocks.py b/tests/unit/mocks.py index 9a74953..ae60035 100644 --- a/tests/unit/mocks.py +++ b/tests/unit/mocks.py @@ -21,8 +21,6 @@ import struct from typing import Any, Callable, Dict, List, Literal, Optional, Tuple -from aiohttp import ClientResponseError -from aiohttp import RequestInfo from cryptography import x509 from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives import serialization diff --git a/tests/unit/test_async_connector.py b/tests/unit/test_async_connector.py index d97aa0b..0f15087 100644 --- a/tests/unit/test_async_connector.py +++ b/tests/unit/test_async_connector.py @@ -20,12 +20,10 @@ from mocks import FakeAlloyDBClient from mocks import FakeConnectionInfo from mocks import FakeCredentials -from mocks import FakeInstance import pytest from google.cloud.alloydb.connector import AsyncConnector from google.cloud.alloydb.connector import IPTypes -from google.cloud.alloydb.connector.client import AlloyDBClient from google.cloud.alloydb.connector.exceptions import IPTypeNotFoundError from google.cloud.alloydb.connector.instance import RefreshAheadCache diff --git a/tests/unit/test_connector.py b/tests/unit/test_connector.py index f3a238e..1273b1e 100644 --- a/tests/unit/test_connector.py +++ b/tests/unit/test_connector.py @@ -20,12 +20,10 @@ from mock import patch from mocks import FakeAlloyDBClient from mocks import FakeCredentials -from mocks import FakeInstance import pytest from google.cloud.alloydb.connector import Connector from google.cloud.alloydb.connector import IPTypes -from google.cloud.alloydb.connector.client import AlloyDBClient from google.cloud.alloydb.connector.exceptions import IPTypeNotFoundError from google.cloud.alloydb.connector.instance import RefreshAheadCache from google.cloud.alloydb.connector.utils import generate_keys