From 4c2a32f6141d58c11428018486257828b3712cd6 Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Fri, 19 Nov 2021 14:45:22 -0800 Subject: [PATCH] Add duration to test data. --- kolibri/core/logger/test/helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kolibri/core/logger/test/helpers.py b/kolibri/core/logger/test/helpers.py index 986d98f0ba3..9d0934c9756 100644 --- a/kolibri/core/logger/test/helpers.py +++ b/kolibri/core/logger/test/helpers.py @@ -133,6 +133,7 @@ def _create_try(cls, user_index, correct, end_timestamp, duration=30): completion_timestamp=end_timestamp, complete=True, mastery_level=randint(MIN_INTEGER, -1), + time_spent=duration * 60, ) for i in range(3):