summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Romijn <eromijn@solidlinks.nl>2014-11-15 17:05:24 +0100
committerErik Romijn <eromijn@solidlinks.nl>2014-11-15 17:05:24 +0100
commitc1584e1df45a28cc374f634982065472dd23cc11 (patch)
tree5ba9f9180610edbfc9d21b6f1061c32e1927534c
parent9a5a4361c577d14cad303019f14ebc6d1ec01674 (diff)
Refs #23793 -- Fixed test failure after password reset messages clarification
-rw-r--r--django/contrib/auth/tests/test_templates.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/auth/tests/test_templates.py b/django/contrib/auth/tests/test_templates.py
index c5d4cea896..e2bb466d68 100644
--- a/django/contrib/auth/tests/test_templates.py
+++ b/django/contrib/auth/tests/test_templates.py
@@ -31,8 +31,8 @@ class AuthTemplateTests(TestCase):
self.assertContains(response, '<h1>Password reset</h1>')
response = password_reset_done(request)
- self.assertContains(response, '<title>Password reset successful</title>')
- self.assertContains(response, '<h1>Password reset successful</h1>')
+ self.assertContains(response, '<title>Password reset sent</title>')
+ self.assertContains(response, '<h1>Password reset sent</h1>')
# password_reset_confirm invalid token
response = password_reset_confirm(request, uidb64='Bad', token='Bad', post_reset_redirect='dummy/')