From c25a7351eeb6be4a998348a8cfc96bc4f965b96c Mon Sep 17 00:00:00 2001 From: stuppie Date: Mon, 7 Sep 2026 10:32:10 -0600 Subject: Fix Leaderboard optional fields were made not-optional --- tests/managers/thl/test_product.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/managers/thl/test_product.py') diff --git a/tests/managers/thl/test_product.py b/tests/managers/thl/test_product.py index 81e0122..8d72fa5 100644 --- a/tests/managers/thl/test_product.py +++ b/tests/managers/thl/test_product.py @@ -203,16 +203,16 @@ class TestProductManager: def test_get_by_uuid1( self, product_manager: ProductManager, - team: Team, + gr_team: Team, product: Product, product_factory: Callable[..., Product], ): - p1 = product_factory(team=team) + p1 = product_factory(team=gr_team) instance = product_manager.get_by_uuid(product_uuid=p1.uuid) assert instance.id == p1.id # No Team and no user_create_config - assert instance.team_id == team.uuid + assert instance.team_id == gr_team.uuid # user_create_config can't be None, so ensure the default was set. assert isinstance(instance.user_create_config, UserCreateConfig) -- cgit v1.2.3