diff --git a/databases/sync_tests/test_batch.py b/databases/sync_tests/test_batch.py index 8a6774db8..08036728b 100644 --- a/databases/sync_tests/test_batch.py +++ b/databases/sync_tests/test_batch.py @@ -3,7 +3,7 @@ import prisma from prisma import Prisma -from ..utils import DatabaseConfig, RawQueries +from ..utils import RawQueries, DatabaseConfig def test_base_usage(client: Prisma) -> None: diff --git a/databases/tests/test_batch.py b/databases/tests/test_batch.py index 56ebda50e..fe402df16 100644 --- a/databases/tests/test_batch.py +++ b/databases/tests/test_batch.py @@ -3,7 +3,7 @@ import prisma from prisma import Prisma -from ..utils import DatabaseConfig, RawQueries +from ..utils import RawQueries, DatabaseConfig @pytest.mark.asyncio diff --git a/tests/test_client.py b/tests/test_client.py index 34ba9b32b..f70d9eebd 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -1,7 +1,7 @@ import warnings -from datetime import timedelta -from pathlib import Path from typing import TYPE_CHECKING, Any, Mapping +from pathlib import Path +from datetime import timedelta import httpx import pytest @@ -9,12 +9,12 @@ from pytest_mock import MockerFixture from prisma import ENGINE_TYPE, SCHEMA_PATH, Prisma, errors, get_client +from prisma.types import HttpConfig +from prisma.testing import reset_client from prisma.cli.prisma import run -from prisma.engine.errors import AlreadyConnectedError from prisma.engine.http import HTTPEngine +from prisma.engine.errors import AlreadyConnectedError from prisma.http_abstract import DEFAULT_CONFIG -from prisma.testing import reset_client -from prisma.types import HttpConfig from .utils import Testdir, patch_method