summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/contrib/auth/tests/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/tests/views.py b/django/contrib/auth/tests/views.py
index acd0336c4d..cf17b827e7 100644
--- a/django/contrib/auth/tests/views.py
+++ b/django/contrib/auth/tests/views.py
@@ -113,7 +113,7 @@ class ChangePasswordTest(TestCase):
}
)
self.assertEquals(response.status_code, 302)
- self.assert_(response['Location'].endswith('/accounts/profile/'))
+ self.assert_(response['Location'].endswith(settings.LOGIN_REDIRECT_URL))
def fail_login(self, password='password'):
response = self.client.post('/login/', {