From 6b4f8d6b8700a65bdf74beb3d95c969a81464a56 Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Tue, 18 Aug 2026 13:14:45 -0700 Subject: build ignore, py-utils replace, typing with Ruff --- tests/models/thl/test_contest/test_raffle_contest.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/models/thl/test_contest') 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}", -- cgit v1.2.3