summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
diff options
context:
space:
mode:
authorprathamesh2016-11-01 09:30:53 +0530
committerprathamesh2016-11-01 09:30:53 +0530
commit6f9d5d2779e64212988c0d164fa05ce2d05e696a (patch)
treee7a1c316b97df44ec701384feea421ca66e3aa9c /yaksh/test_views.py
parent3b66e5fb8af12ce756f34966bb684373062551dd (diff)
parentf563640af941a50642dc5eb6e63b1d63a1685046 (diff)
downloadonline_test-6f9d5d2779e64212988c0d164fa05ce2d05e696a.tar.gz
online_test-6f9d5d2779e64212988c0d164fa05ce2d05e696a.tar.bz2
online_test-6f9d5d2779e64212988c0d164fa05ce2d05e696a.zip
Merge branch 'master' of https://github.com/FOSSEE/online_test into UI-modifications
Resolved Conflicts: yaksh/templates/manage.html yaksh/templates/yaksh/design_questionpaper.html
Diffstat (limited to 'yaksh/test_views.py')
-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):