summaryrefslogtreecommitdiff
path: root/yaksh/test_models.py
diff options
context:
space:
mode:
authorCruiseDevice2019-01-28 22:03:13 +0530
committerCruiseDevice2019-01-29 12:01:01 +0530
commit010d302e9b925736674ce5c5eda4f6a7ffbebb98 (patch)
treebbe6eb43667096aa94faec4071af281151637615 /yaksh/test_models.py
parent4db850b16d1445cfb8a58fce28e1e7582421b3b7 (diff)
downloadonline_test-010d302e9b925736674ce5c5eda4f6a7ffbebb98.tar.gz
online_test-010d302e9b925736674ce5c5eda4f6a7ffbebb98.tar.bz2
online_test-010d302e9b925736674ce5c5eda4f6a7ffbebb98.zip
Fix PEP8 issues
Diffstat (limited to 'yaksh/test_models.py')
-rw-r--r--yaksh/test_models.py8
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):