summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
diff options
context:
space:
mode:
authoradityacp2021-01-27 16:36:51 +0530
committeradityacp2021-01-27 16:36:51 +0530
commitfa8020b9f39b4e75a0a5d8b26653cc61cb9ae981 (patch)
tree082a278c82f55a9a48f71901cd734364e6aab869 /yaksh/test_views.py
parent7f28b418b616823f542faea8311e881faf6286c2 (diff)
downloadonline_test-fa8020b9f39b4e75a0a5d8b26653cc61cb9ae981.tar.gz
online_test-fa8020b9f39b4e75a0a5d8b26653cc61cb9ae981.tar.bz2
online_test-fa8020b9f39b4e75a0a5d8b26653cc61cb9ae981.zip
Refactor monitor for a quiz
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r--yaksh/test_views.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py
index 8973d9f..58b7506 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -614,10 +614,7 @@ class TestMonitor(TestCase):
self.assertEqual(response.status_code, 200)
self.assertTemplateUsed(response, "yaksh/monitor.html")
- self.assertEqual(response.context['msg'], "Quiz Results")
self.assertEqual(response.context['papers'][0], self.answerpaper)
- self.assertEqual(response.context['latest_attempts'][0],
- self.answerpaper)
def test_get_quiz_user_data(self):
"""