Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed tests that I broke a few commits ago.

  • Loading branch information...
commit a92b81b0e8adc47a1357a3fa26324cbda226f211 1 parent f47af9d
Alex Gaynor authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.