aboutsummaryrefslogtreecommitdiff
path: root/test_utils/managers/contest/conftest.py
diff options
context:
space:
mode:
authorMax Nanis2026-03-09 06:27:14 -0400
committerMax Nanis2026-03-09 06:27:14 -0400
commit2f92429a68ec7209059d2d18fe67964c8dd57cf2 (patch)
tree641358598982860f6452d27a74cae809b0d2d430 /test_utils/managers/contest/conftest.py
parentce291a165fab6b6dc9f053c7b75a699d0fdf389f (diff)
downloadgeneralresearch-2f92429a68ec7209059d2d18fe67964c8dd57cf2.tar.gz
generalresearch-2f92429a68ec7209059d2d18fe67964c8dd57cf2.zip
Simple typing changes, Ruff import formatter. p3
Diffstat (limited to 'test_utils/managers/contest/conftest.py')
-rw-r--r--test_utils/managers/contest/conftest.py15
1 files changed, 2 insertions, 13 deletions
diff --git a/test_utils/managers/contest/conftest.py b/test_utils/managers/contest/conftest.py
index 0a25185..fb0b44b 100644
--- a/test_utils/managers/contest/conftest.py
+++ b/test_utils/managers/contest/conftest.py
@@ -9,26 +9,15 @@ from generalresearch.currency import USDCent
if TYPE_CHECKING:
from generalresearch.managers.thl.contest_manager import ContestManager
- from generalresearch.models.thl.contest import (
- ContestEndCondition,
- ContestPrize,
- )
+ from generalresearch.managers.thl.ledger_manager.thl_ledger import ThlLedgerManager
from generalresearch.models.thl.contest.contest import Contest
- from generalresearch.models.thl.contest.definitions import (
- ContestPrizeKind,
- ContestType,
- )
- from generalresearch.models.thl.contest.io import contest_create_to_contest
from generalresearch.models.thl.contest.leaderboard import (
LeaderboardContestCreate,
)
from generalresearch.models.thl.contest.milestone import (
- ContestEntryTrigger,
MilestoneContestCreate,
- MilestoneContestEndCondition,
)
from generalresearch.models.thl.contest.raffle import (
- ContestEntryType,
RaffleContestCreate,
)
from generalresearch.models.thl.product import Product
@@ -273,7 +262,7 @@ def user_with_money(
request,
user_factory: Callable[..., "User"],
product_user_wallet_yes: "Product",
- thl_lm,
+ thl_lm: "ThlLedgerManager",
) -> "User":
from generalresearch.models.thl.user import User