diff options
| author | Max Nanis | 2026-09-01 10:43:29 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-09-01 10:43:29 -0700 |
| commit | 89ed44f466dc9a93d6f85931fb6eea0e9cbd27f6 (patch) | |
| tree | 8bcce59aa74271e38f056c954ee3e8457dae241a /tests/managers/thl/test_ledger/test_lm_accounts.py | |
| parent | d19438ec4ccbbe4415c286c9ae89e3e5706ac553 (diff) | |
| download | generalresearch-89ed44f466dc9a93d6f85931fb6eea0e9cbd27f6.tar.gz generalresearch-89ed44f466dc9a93d6f85931fb6eea0e9cbd27f6.zip | |
working through circular imports, removing __init__ loaded Types / Definitions
Diffstat (limited to 'tests/managers/thl/test_ledger/test_lm_accounts.py')
| -rw-r--r-- | tests/managers/thl/test_ledger/test_lm_accounts.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/managers/thl/test_ledger/test_lm_accounts.py b/tests/managers/thl/test_ledger/test_lm_accounts.py index 7b65b2d..f5ed883 100644 --- a/tests/managers/thl/test_ledger/test_lm_accounts.py +++ b/tests/managers/thl/test_ledger/test_lm_accounts.py @@ -2,6 +2,7 @@ from __future__ import annotations from itertools import product as iproduct from random import randint +from typing import TYPE_CHECKING from uuid import uuid4 import pytest @@ -13,13 +14,18 @@ from generalresearch.managers.thl.ledger_manager.exceptions import ( LedgerAccountDoesntExistError, ) from generalresearch.managers.thl.ledger_manager.ledger import LedgerManager -from generalresearch.models.custom_types import AccountType, Direction, UUIDStr +from generalresearch.models.custom_types import AccountType, Direction from generalresearch.models.thl.ledger import ( LedgerAccount, LedgerEntry, - LedgerTransaction, ) +if TYPE_CHECKING: + from generalresearch.models.custom_types import UUIDStr + from generalresearch.models.thl.ledger import ( + LedgerTransaction, + ) + @pytest.mark.parametrize( argnames="currency, kind, acct_id", |
