diff options
| author | stuppie | 2026-09-07 10:32:10 -0600 |
|---|---|---|
| committer | stuppie | 2026-09-07 10:32:10 -0600 |
| commit | c25a7351eeb6be4a998348a8cfc96bc4f965b96c (patch) | |
| tree | 301ce11ccd62dec5ab8485ff4b6859b2bea119e6 /tests/managers/thl/test_product.py | |
| parent | e1b1484c1b33708154a21dff095bd56c498115f4 (diff) | |
| download | generalresearch-c25a7351eeb6be4a998348a8cfc96bc4f965b96c.tar.gz generalresearch-c25a7351eeb6be4a998348a8cfc96bc4f965b96c.zip | |
Fix Leaderboard optional fields were made not-optional
Diffstat (limited to 'tests/managers/thl/test_product.py')
| -rw-r--r-- | tests/managers/thl/test_product.py | 6 |
1 files changed, 3 insertions, 3 deletions
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) |
