Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed tests that I broke a few commits ago.

  • Loading branch information...
commit a92b81b0e8adc47a1357a3fa26324cbda226f211 1 parent f47af9d
authored September 07, 2012
7  tests/regressiontests/i18n/commands/compilation.py
@@ -3,11 +3,12 @@
3 3
 from django.core.management import call_command, CommandError
4 4
 from django.test import TestCase
5 5
 from django.test.utils import override_settings
6  
-from django.utils import translation
  6
+from django.utils import translation, six
7 7
 from django.utils.six import StringIO
8 8
 
9 9
 test_dir = os.path.abspath(os.path.dirname(__file__))
10 10
 
  11
+
11 12
 class MessageCompilationTests(TestCase):
12 13
 
13 14
     def setUp(self):
@@ -19,8 +20,8 @@ def tearDown(self):
19 20
 
20 21
 class PoFileTests(MessageCompilationTests):
21 22
 
22  
-    LOCALE='es_AR'
23  
-    MO_FILE='locale/%s/LC_MESSAGES/django.mo' % LOCALE
  23
+    LOCALE = 'es_AR'
  24
+    MO_FILE = 'locale/%s/LC_MESSAGES/django.mo' % LOCALE
24 25
 
25 26
     def test_bom_rejection(self):
26 27
         os.chdir(test_dir)

0 notes on commit a92b81b

Please sign in to comment.
Something went wrong with that request. Please try again.