Browse files

Fixed tests that I broke a few commits ago.

  • Loading branch information...
1 parent f47af9d commit a92b81b0e8adc47a1357a3fa26324cbda226f211 Alex Gaynor committed Sep 7, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 tests/regressiontests/i18n/commands/compilation.py
View
7 tests/regressiontests/i18n/commands/compilation.py
@@ -3,11 +3,12 @@
from django.core.management import call_command, CommandError
from django.test import TestCase
from django.test.utils import override_settings
-from django.utils import translation
+from django.utils import translation, six
from django.utils.six import StringIO
test_dir = os.path.abspath(os.path.dirname(__file__))
+
class MessageCompilationTests(TestCase):
def setUp(self):
@@ -19,8 +20,8 @@ def tearDown(self):
class PoFileTests(MessageCompilationTests):
- LOCALE='es_AR'
- MO_FILE='locale/%s/LC_MESSAGES/django.mo' % LOCALE
+ LOCALE = 'es_AR'
+ MO_FILE = 'locale/%s/LC_MESSAGES/django.mo' % LOCALE
def test_bom_rejection(self):
os.chdir(test_dir)

0 comments on commit a92b81b

Please sign in to comment.