diff options
| author | Alex Gaynor <alex.gaynor@rd.io> | 2012-09-07 14:01:46 -0400 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@rd.io> | 2012-09-07 14:01:46 -0400 |
| commit | a92b81b0e8adc47a1357a3fa26324cbda226f211 (patch) | |
| tree | 3d06df0d3da38e8ed459af2deaf410a897d78903 | |
| parent | f47af9df1d3e03512364e5fe115f025c0a0be670 (diff) | |
Fixed tests that I broke a few commits ago.
| -rw-r--r-- | tests/regressiontests/i18n/commands/compilation.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/regressiontests/i18n/commands/compilation.py b/tests/regressiontests/i18n/commands/compilation.py index 856c9bb687..c6ab77941b 100644 --- a/tests/regressiontests/i18n/commands/compilation.py +++ b/tests/regressiontests/i18n/commands/compilation.py @@ -3,11 +3,12 @@ import os 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 @@ class MessageCompilationTests(TestCase): 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) |
