diff --git a/tests/test_status.py b/tests/test_status.py index 99a77170..3385966a 100644 --- a/tests/test_status.py +++ b/tests/test_status.py @@ -57,8 +57,8 @@ def test_all_together(self): def test_no_submissions(self): course = list(Solution.status(self.course_no_submissions).dicts()) - assert len(course) == 0 + assert not course def test_no_exercises(self): course = list(Solution.status(self.course_no_exercises).dicts()) - assert len(course) == 0 + assert not course