Ticket #11291: django-11219.diff

File django-11219.diff, 639 bytes (added by Justin Lilly, 15 years ago)

Fix.

  • django/contrib/auth/tests/views.py

     
    3737
    3838class PasswordResetTest(AuthViewsTestCase):
    3939
    40     def setUp(self):
    41         self.old_LANGUAGES = settings.LANGUAGES
    42         self.old_LANGUAGE_CODE = settings.LANGUAGE_CODE
    43         settings.LANGUAGES = (('en', 'English'),)
    44         settings.LANGUAGE_CODE = 'en'
    45 
    4640    def tearDown(self):
    4741        settings.LANGUAGES = self.old_LANGUAGES
    4842        settings.LANGUAGE_CODE = self.old_LANGUAGE_CODE
Back to Top