diff options
Diffstat (limited to 'yaksh/tests.py')
-rw-r--r-- | yaksh/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/tests.py b/yaksh/tests.py index 17e6130..848df74 100644 --- a/yaksh/tests.py +++ b/yaksh/tests.py @@ -418,7 +418,7 @@ class CourseTestCases(unittest.TestCase): self.assertSequenceEqual(self.course.get_rejected(), [self.student2]) self.assertSequenceEqual(self.course.get_enrolled(), [self.student1]) - self.assertTrue(self.course.is_enrolled(self.student1.id)) + self.assertTrue(self.course.is_enrolled(self.student1)) def test_get_quizzes(self): """ Test get_quizzes method of Courses""" |