#17562: django.contrib.auth.tests.views.ChangePasswordTest.fail_login does not respect language -------------------------------+-------------------- Reporter: anonymous | Owner: nobody Type: Uncategorized | Status: new Component: Uncategorized | Version: SVN Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------- Failure Traceback (most recent call last): File "/opt/python2.7/lib/python2.7/unittest/case.py", line 327, in run testMethod() File "/home/teamcity/virtualenv/eksmo/src/django/django/contrib/auth/tests/views.py", line 226, in test_password_change_succeeds self.fail_login() File "/home/teamcity/virtualenv/eksmo/src/django/django/contrib/auth/tests/views.py", line 192, in fail_login self.assertContainsEscaped(response, AuthenticationForm.error_messages['invalid_login']) File "/home/teamcity/virtualenv/eksmo/src/django/django/contrib/auth/tests/views.py", line 53, in assertContainsEscaped return self.assertContains(response, escape(force_unicode(text)), **kwargs) File "/home/teamcity/virtualenv/eksmo/src/django/django/test/testcases.py", line 538, in assertContains msg_prefix + "Couldn't find '%s' in response" % text) File "/opt/python2.7/lib/python2.7/unittest/case.py", line 420, in assertTrue raise self.failureException(msg) AssertionError: Couldn't find 'Пожалуйста, введите верные имя пользователя и пароль. Помните, оба поля чувствительны к регистру.' in response
-- Ticket URL: <https://code.djangoproject.com/ticket/17562> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.