Permalink
Browse files

Corrected small error when preserving an I18N-related setting value i…

…n an admin views test setup.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 319de16 commit d5042109b80a9976df58e081e2ab74a4bde26d23 @ramiro ramiro committed Feb 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/regressiontests/admin_views/tests.py
@@ -48,7 +48,7 @@ class AdminViewBasicTest(TestCase):
urlbit = 'admin'
def setUp(self):
- self.old_USE_I18N = settings.LANGUAGE_CODE
+ self.old_USE_I18N = settings.USE_I18N
self.old_USE_L10N = settings.USE_L10N
self.old_LANGUAGE_CODE = settings.LANGUAGE_CODE
self.client.login(username='super', password='secret')

0 comments on commit d504210

Please sign in to comment.