aboutsummaryrefslogtreecommitdiff
path: root/test_utils/managers/gr/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_utils/managers/gr/conftest.py')
-rw-r--r--test_utils/managers/gr/conftest.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test_utils/managers/gr/conftest.py b/test_utils/managers/gr/conftest.py
index 40bd7b3..5392c69 100644
--- a/test_utils/managers/gr/conftest.py
+++ b/test_utils/managers/gr/conftest.py
@@ -3,6 +3,7 @@ from __future__ import annotations
import subprocess
from collections.abc import Callable, Generator
from random import randint
+from typing import TYPE_CHECKING
import pytest
import redis
@@ -10,8 +11,6 @@ import redis.asyncio as redis_async
from pydantic import PostgresDsn
from redis import Redis
-from generalresearch.config import GRLBaseSettings
-from generalresearch.managers.gr.authentication import GRTokenManager, GRUserManager
from generalresearch.managers.gr.business import (
BusinessAddressManager,
BusinessBankAccountManager,
@@ -20,6 +19,10 @@ from generalresearch.managers.gr.business import (
from generalresearch.pg_helper import PostgresConfig
from generalresearch.redis_helper import RedisConfig
+if TYPE_CHECKING:
+ from generalresearch.config import GRLBaseSettings
+ from generalresearch.managers.gr.authentication import GRTokenManager, GRUserManager
+
# === Msc ===
@pytest.fixture(scope="session")