Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function TestStatusPage.test_no_submissions refactored with the following changes:


def test_no_exercises(self):
course = list(Solution.status(self.course_no_exercises).dicts())
assert len(course) == 0
assert not course
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function TestStatusPage.test_no_exercises refactored with the following changes: