diff options
| author | stuppie | 2026-09-18 14:56:36 -0600 |
|---|---|---|
| committer | stuppie | 2026-09-18 14:56:36 -0600 |
| commit | f4909f0fafd6161dd423859afadb72b916e90564 (patch) | |
| tree | 4b364461c185f935d315b591d3b52808d3824f45 /tests/managers/thl/test_survey_penalty.py | |
| parent | 438ea05fdb98c847d534ae190179b4766fa96f26 (diff) | |
| download | generalresearch-f4909f0fafd6161dd423859afadb72b916e90564.tar.gz generalresearch-f4909f0fafd6161dd423859afadb72b916e90564.zip | |
1 single broken managers test
Diffstat (limited to 'tests/managers/thl/test_survey_penalty.py')
| -rw-r--r-- | tests/managers/thl/test_survey_penalty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/managers/thl/test_survey_penalty.py b/tests/managers/thl/test_survey_penalty.py index 04f69d2..71cea16 100644 --- a/tests/managers/thl/test_survey_penalty.py +++ b/tests/managers/thl/test_survey_penalty.py @@ -103,7 +103,7 @@ class TestSurveyPenalty: assert res == {"t:a": 0.1, "t:b": 0.2, "u:b": 0.1} assert surveypenalty_manager.cache.currsize == 1 cached_key = tuple(list(next(iter(surveypenalty_manager.cache.keys())))[1:]) - assert cached_key == ("product_id", product_uuid, "team_id", team_id_random) + assert cached_key == (("product_id", product_uuid), ("team_id", team_id_random)) # Both don't exist, return nothing res = surveypenalty_manager.get_penalties_for( |
