summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2013-01-17 00:35:46 -0300
committerRamiro Morales <cramm0@gmail.com>2013-01-17 00:35:46 -0300
commit295650bd01bc4d68e918b483a2366a092dae6636 (patch)
tree686498ac77c88154ab19f0db4c370d733d35fb39
parent248aee16066b2a336f16c844580cf043d853874b (diff)
Simplified i18n commands tests.
-rw-r--r--tests/regressiontests/i18n/commands/compilation.py6
-rw-r--r--tests/regressiontests/i18n/commands/extraction.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/regressiontests/i18n/commands/compilation.py b/tests/regressiontests/i18n/commands/compilation.py
index 2944469110..492b0d22a3 100644
--- a/tests/regressiontests/i18n/commands/compilation.py
+++ b/tests/regressiontests/i18n/commands/compilation.py
@@ -1,16 +1,16 @@
import os
from django.core.management import call_command, CommandError
-from django.test import TestCase
+from django.test import SimpleTestCase
from django.test.utils import override_settings
-from django.utils import translation, six
+from django.utils import translation
from django.utils._os import upath
from django.utils.six import StringIO
test_dir = os.path.abspath(os.path.dirname(upath(__file__)))
-class MessageCompilationTests(TestCase):
+class MessageCompilationTests(SimpleTestCase):
def setUp(self):
self._cwd = os.getcwd()
diff --git a/tests/regressiontests/i18n/commands/extraction.py b/tests/regressiontests/i18n/commands/extraction.py
index 6a8ebc7670..575f23cfee 100644
--- a/tests/regressiontests/i18n/commands/extraction.py
+++ b/tests/regressiontests/i18n/commands/extraction.py
@@ -6,7 +6,7 @@ import re
import shutil
from django.core import management
-from django.test import TestCase
+from django.test import SimpleTestCase
from django.utils.encoding import force_text
from django.utils._os import upath
from django.utils.six import StringIO
@@ -14,7 +14,7 @@ from django.utils.six import StringIO
LOCALE='de'
-class ExtractorTests(TestCase):
+class ExtractorTests(SimpleTestCase):
PO_FILE='locale/%s/LC_MESSAGES/django.po' % LOCALE