summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorprathamesh2016-10-04 18:12:54 +0530
committerprathamesh2016-10-04 18:12:54 +0530
commit2ee45f6f04711c745e533abeef6b5ca55d7b4ec3 (patch)
treebaa04b7a091bcb46750076dcfd7ffe5a6ff29c03 /yaksh
parent9c14e2b2026074234d9c977ca17b0c96b0789f6b (diff)
downloadonline_test-2ee45f6f04711c745e533abeef6b5ca55d7b4ec3.tar.gz
online_test-2ee45f6f04711c745e533abeef6b5ca55d7b4ec3.tar.bz2
online_test-2ee45f6f04711c745e533abeef6b5ca55d7b4ec3.zip
changes in test view as redirect url changed.
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/test_views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py
index cf547b5..1d1c3f3 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -294,7 +294,7 @@ class TestAddQuiz(TestCase):
self.assertEqual(updated_quiz.course, self.course)
self.assertEqual(response.status_code, 302)
- self.assertRedirects(response, '/exam/manage/')
+ self.assertRedirects(response, '/exam/manage/courses/')
def test_add_quiz_post_new_quiz(self):
"""
@@ -340,7 +340,7 @@ class TestAddQuiz(TestCase):
self.assertEqual(new_quiz.course, self.course)
self.assertEqual(response.status_code, 302)
- self.assertRedirects(response, '/exam/manage/designquestionpaper/')
+ self.assertRedirects(response, '/exam/manage/courses/')
class TestAddTeacher(TestCase):
def setUp(self):