From d5042109b80a9976df58e081e2ab74a4bde26d23 Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Wed, 16 Feb 2011 03:30:27 +0000 Subject: [PATCH] Corrected small error when preserving an I18N-related setting value in an admin views test setup. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15550 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/admin_views/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py index acbbbfc778..222c1015f3 100644 --- a/tests/regressiontests/admin_views/tests.py +++ b/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')