From 967eb761c414e22c7567d0f594ae7a7bc6e3e62c Mon Sep 17 00:00:00 2001 From: stuppie Date: Mon, 7 Sep 2026 09:57:06 -0600 Subject: Leaderboard name and id are optional b/c they get set by validator. can't init the class otherwise. Fix tests. test_leaderboard_manager datetime is not supposed to have a timzeone; that is the point of the test --- tests/managers/thl/test_category.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/managers/thl/test_category.py') diff --git a/tests/managers/thl/test_category.py b/tests/managers/thl/test_category.py index 4d00643..a2805bc 100644 --- a/tests/managers/thl/test_category.py +++ b/tests/managers/thl/test_category.py @@ -15,7 +15,7 @@ if TYPE_CHECKING: class TestCategory: @pytest.fixture - def beauty_fitness(self, thl_web_rw: PostgresConfig) -> Category: + def beauty_fitness(self) -> Category: return Category( uuid="12c1e96be82c4642a07a12a90ce6f59e", @@ -41,7 +41,7 @@ class TestCategory: uuid="aacff523c8e246888215611ec3b823c0", adwords_vertical_id="235", label="Hair Loss", - path=f"{hair_care}/Hair Loss", + path=f"{hair_care.path}/Hair Loss", ) @pytest.fixture -- cgit v1.2.3