Ticket #11291: django-11219.diff
File django-11219.diff, 639 bytes (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 40 def tearDown(self): 47 41 settings.LANGUAGES = self.old_LANGUAGES 48 42 settings.LANGUAGE_CODE = self.old_LANGUAGE_CODE