We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9f98e7 commit 84dcb0dCopy full SHA for 84dcb0d
tests/test_status.py
@@ -56,9 +56,9 @@ def test_all_together(self):
56
assert ex2_1['submitted'] == 1
57
58
def test_no_submissions(self):
59
- course = list(Solution.status(self.course_no_submissions).dicts())
60
- assert len(course) == 0
+ submissions = list(Solution.status(self.course_no_submissions).dicts())
+ assert not submissions
61
62
def test_no_exercises(self):
63
- course = list(Solution.status(self.course_no_exercises).dicts())
64
+ submissions = list(Solution.status(self.course_no_exercises).dicts())
0 commit comments