diff options
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/test_models.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/yaksh/test_models.py b/yaksh/test_models.py index f94c67c..1f38d03 100644 --- a/yaksh/test_models.py +++ b/yaksh/test_models.py @@ -288,9 +288,10 @@ class ProfileTestCases(unittest.TestCase): def setUp(self): self.creator = User.objects.get(username='creator') self.profile = Profile.objects.get(user=self.creator) - self.teacher = User.objects.create_user(username='teacher_profile', - password='teacher_profile', - email='teacher_profile@test.com') + self.teacher = User.objects.create_user( + username='teacher_profile', + password='teacher_profile', + email='teacher_profile@test.com') Profile.objects.create( user=self.teacher, roll_number=123, institute='IIT', is_moderator=True, department='Chemical', position='Teacher' @@ -330,6 +331,7 @@ class ProfileTestCases(unittest.TestCase): self.teacher.delete() self.course.delete() + ############################################################################### class QuestionTestCases(unittest.TestCase): def setUp(self): |