aboutsummaryrefslogtreecommitdiff
path: root/tests/managers/thl/test_survey_penalty.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/managers/thl/test_survey_penalty.py')
-rw-r--r--tests/managers/thl/test_survey_penalty.py2
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(