From c1584e1df45a28cc374f634982065472dd23cc11 Mon Sep 17 00:00:00 2001 From: Erik Romijn Date: Sat, 15 Nov 2014 17:05:24 +0100 Subject: [PATCH] Refs #23793 -- Fixed test failure after password reset messages clarification --- django/contrib/auth/tests/test_templates.py | 4 ++-- 1 file 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, '

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/')