summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
diff options
context:
space:
mode:
authorCruiseDevice2020-05-13 16:26:39 +0530
committerCruiseDevice2020-05-13 16:26:39 +0530
commitf8ce9e4e896231ae6f5c0193b76afd360d3bf1ea (patch)
treedaeff9a6918867073d92cb1823110bd353037e64 /yaksh/test_views.py
parent2c9f94a3e3706a16b4b7b72ca6ad9f636daabad5 (diff)
downloadonline_test-f8ce9e4e896231ae6f5c0193b76afd360d3bf1ea.tar.gz
online_test-f8ce9e4e896231ae6f5c0193b76afd360d3bf1ea.tar.bz2
online_test-f8ce9e4e896231ae6f5c0193b76afd360d3bf1ea.zip
PEP8 fix
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r--yaksh/test_views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py
index caacd4b..5d2e5b5 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -7014,7 +7014,7 @@ class TestStartExam(TestCase):
password=self.student_plaintext_pass
)
self.question_paper1.fixed_questions.add(self.question1)
- self.learning_module1.active=False
+ self.learning_module1.active = False
self.learning_module1.save()
url = reverse('yaksh:start_quiz', kwargs={
'questionpaper_id': self.question_paper1.id,
@@ -7112,7 +7112,7 @@ class TestStartExam(TestCase):
self.user1_course1.students.add(self.student)
self.user1_course1.active = False
- self.user1_course1.end_enroll_time=timezone.now()
+ self.user1_course1.end_enroll_time = timezone.now()
self.user1_course1.save()
url = reverse('yaksh:start_quiz', kwargs={
'questionpaper_id': self.question_paper1.id,
@@ -7395,4 +7395,4 @@ class TestStartExam(TestCase):
self.user1.delete()
self.student.delete()
self.quiz1.delete()
- self.user1_course1.delete() \ No newline at end of file
+ self.user1_course1.delete()