aboutsummaryrefslogtreecommitdiff
path: root/tests/managers/thl/test_category.py
diff options
context:
space:
mode:
authorstuppie2026-09-07 09:57:06 -0600
committerstuppie2026-09-07 09:57:06 -0600
commit967eb761c414e22c7567d0f594ae7a7bc6e3e62c (patch)
tree400e69cc1592713a53ab6b2e086749785b096d95 /tests/managers/thl/test_category.py
parentb07720826af57f056aec3818a3646bb296a24bfd (diff)
downloadgeneralresearch-967eb761c414e22c7567d0f594ae7a7bc6e3e62c.tar.gz
generalresearch-967eb761c414e22c7567d0f594ae7a7bc6e3e62c.zip
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
Diffstat (limited to 'tests/managers/thl/test_category.py')
-rw-r--r--tests/managers/thl/test_category.py4
1 files changed, 2 insertions, 2 deletions
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