Skip to content

Commit e25868f

Browse files
author
Sourcery AI
committed
'Refactored by Sourcery'
1 parent 05f3ac0 commit e25868f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_status.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ def test_all_together(self):
5757

5858
def test_no_submissions(self):
5959
course = list(Solution.status(self.course_no_submissions).dicts())
60-
assert len(course) == 0
60+
assert not course
6161

6262
def test_no_exercises(self):
6363
course = list(Solution.status(self.course_no_exercises).dicts())
64-
assert len(course) == 0
64+
assert not course

0 commit comments

Comments
 (0)