summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-03-20 11:12:52 +0530
committerGitHub2020-03-20 11:12:52 +0530
commite8573822d3ed25306d5d2faf946633f2c17997b0 (patch)
treec75b5d2730a74191f2c7e51a881e9404f5627c1d /yaksh/test_views.py
parent1dbaec7dd8098701e11713faa0c9040a315e5fac (diff)
parent36f43151ab26744cf9edc05d0df3f0fb901fcaaa (diff)
downloadonline_test-e8573822d3ed25306d5d2faf946633f2c17997b0.tar.gz
online_test-e8573822d3ed25306d5d2faf946633f2c17997b0.tar.bz2
online_test-e8573822d3ed25306d5d2faf946633f2c17997b0.zip
Merge pull request #655 from adityacp/bump_django
Bump django version to 3.0.3
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 61ed3eb..569d4d7 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -11,7 +11,7 @@ import shutil
from markdown import Markdown
from django.contrib.auth.models import Group
from django.contrib.auth import authenticate
-from django.core.urlresolvers import reverse
+from django.urls import reverse
from django.test import TestCase
from django.test import Client
from django.http import Http404
@@ -3888,7 +3888,7 @@ class TestPasswordReset(TestCase):
# Then
self.assertEqual(response.context['email'], self.user1.email)
self.assertEqual(response.status_code, 302)
- self.assertRedirects(response, '/exam/reset/password_reset/mail_sent/')
+ self.assertRedirects(response, '/exam/reset/password_reset/done/')
def test_password_change_post(self):
"""