Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Simplified i18n commands tests.

  • Loading branch information...
commit 295650bd01bc4d68e918b483a2366a092dae6636 1 parent 248aee1
Ramiro Morales authored January 17, 2013
6  tests/regressiontests/i18n/commands/compilation.py
... ...
@@ -1,16 +1,16 @@
1 1
 import os
2 2
 
3 3
 from django.core.management import call_command, CommandError
4  
-from django.test import TestCase
  4
+from django.test import SimpleTestCase
5 5
 from django.test.utils import override_settings
6  
-from django.utils import translation, six
  6
+from django.utils import translation
7 7
 from django.utils._os import upath
8 8
 from django.utils.six import StringIO
9 9
 
10 10
 test_dir = os.path.abspath(os.path.dirname(upath(__file__)))
11 11
 
12 12
 
13  
-class MessageCompilationTests(TestCase):
  13
+class MessageCompilationTests(SimpleTestCase):
14 14
 
15 15
     def setUp(self):
16 16
         self._cwd = os.getcwd()
4  tests/regressiontests/i18n/commands/extraction.py
@@ -6,7 +6,7 @@
6 6
 import shutil
7 7
 
8 8
 from django.core import management
9  
-from django.test import TestCase
  9
+from django.test import SimpleTestCase
10 10
 from django.utils.encoding import force_text
11 11
 from django.utils._os import upath
12 12
 from django.utils.six import StringIO
@@ -14,7 +14,7 @@
14 14
 
15 15
 LOCALE='de'
16 16
 
17  
-class ExtractorTests(TestCase):
  17
+class ExtractorTests(SimpleTestCase):
18 18
 
19 19
     PO_FILE='locale/%s/LC_MESSAGES/django.po' % LOCALE
20 20
 

0 notes on commit 295650b

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