aboutsummaryrefslogtreecommitdiff
path: root/tests/models/thl/test_contest
diff options
context:
space:
mode:
authorMax Nanis2026-08-18 13:14:45 -0700
committerMax Nanis2026-08-18 13:14:45 -0700
commit6b4f8d6b8700a65bdf74beb3d95c969a81464a56 (patch)
tree09c0b32c8915f4ffa5c5e02222c49cbf591f8588 /tests/models/thl/test_contest
parentc6f7ad8baaa8e0e22dfcefc763f4065faf6de507 (diff)
downloadgeneralresearch-6b4f8d6b8700a65bdf74beb3d95c969a81464a56.tar.gz
generalresearch-6b4f8d6b8700a65bdf74beb3d95c969a81464a56.zip
build ignore, py-utils replace, typing with Ruff
Diffstat (limited to 'tests/models/thl/test_contest')
-rw-r--r--tests/models/thl/test_contest/test_raffle_contest.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/models/thl/test_contest/test_raffle_contest.py b/tests/models/thl/test_contest/test_raffle_contest.py
index e1c0a15..d7920f0 100644
--- a/tests/models/thl/test_contest/test_raffle_contest.py
+++ b/tests/models/thl/test_contest/test_raffle_contest.py
@@ -6,26 +6,26 @@ from pytest import approx
from generalresearch.currency import USDCent
from generalresearch.models.thl.contest import (
- ContestPrize,
ContestEndCondition,
+ ContestPrize,
)
from generalresearch.models.thl.contest.contest_entry import ContestEntry
from generalresearch.models.thl.contest.definitions import (
+ ContestEndReason,
ContestEntryType,
ContestPrizeKind,
- ContestType,
ContestStatus,
- ContestEndReason,
+ ContestType,
)
from generalresearch.models.thl.contest.raffle import RaffleContest
-
+from generalresearch.models.thl.product import Product
from tests.models.thl.test_contest.test_contest import TestContest
class TestRaffleContest(TestContest):
@pytest.fixture(scope="function")
- def raffle_contest(self, product) -> RaffleContest:
+ def raffle_contest(self, product: Product) -> RaffleContest:
return RaffleContest(
product_id=product.uuid,
name=f"Raffle Contest {uuid4().hex}",