diff options
Diffstat (limited to 'stats/tests.py')
-rw-r--r-- | stats/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stats/tests.py b/stats/tests.py index c256feb..540ff4d 100644 --- a/stats/tests.py +++ b/stats/tests.py @@ -131,8 +131,8 @@ class TestTrackLesson(TestCase): self.assertEqual(response_data.get('total'), 1) expected_tracker = list(TrackLesson.objects.filter( user_id=self.student.id, course_id=self.course.id, - lesson_id=self.lesson.id).values_list("id", flat=True)) + lesson_id=self.lesson.id)) obtained_tracker = list(response_data.get( - 'objects').object_list.values_list("id", flat=True)) + 'objects').object_list) self.assertEqual(obtained_tracker, expected_tracker) |