Ticket #10976: 10976.diff
File 10976.diff, 2.9 KB (added by , 15 years ago) |
---|
-
django/contrib/auth/tests/views.py
37 37 38 38 class PasswordResetTest(AuthViewsTestCase): 39 39 40 def setUp(self):41 self.old_LANGUAGES = settings.LANGUAGES42 self.old_LANGUAGE_CODE = settings.LANGUAGE_CODE43 settings.LANGUAGES = (('en', 'English'),)44 settings.LANGUAGE_CODE = 'en'45 46 def tearDown(self):47 settings.LANGUAGES = self.old_LANGUAGES48 settings.LANGUAGE_CODE = self.old_LANGUAGE_CODE49 50 40 def test_email_not_found(self): 51 41 "Error is raised if the provided email address isn't currently registered" 52 42 response = self.client.get('/password_reset/') -
django/contrib/auth/tests/templates/registration/password_reset_complete.html
1 Password reset successfully 2 No newline at end of file -
django/contrib/auth/tests/templates/registration/password_reset_confirm.html
1 {% if validlink %} 2 Please enter your new password: {{ form }} 3 {% else %} 4 The password reset link was invalid 5 {% endif %} 6 No newline at end of file -
django/contrib/auth/tests/templates/registration/password_reset_form.html
1 {{ form }} 2 No newline at end of file -
django/contrib/auth/tests/templates/registration/password_reset_done.html
1 E-mail sent 2 No newline at end of file -
django/contrib/auth/tests/templates/registration/password_reset_email.html
1 {{ protocol }}://{{ domain }}/reset/{{ uid }}-{{ token }}/ 2 No newline at end of file