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, '

Password reset

') response = password_reset_done(request) - self.assertContains(response, 'Password reset successful') - self.assertContains(response, '

Password reset successful

') + self.assertContains(response, 'Password reset sent') + self.assertContains(response, '

Password reset sent

') # password_reset_confirm invalid token response = password_reset_confirm(request, uidb64='Bad', token='Bad', post_reset_redirect='dummy/')