Loading tests/regressiontests/i18n/commands/compilation.py +3 −3 Original line number Diff line number Diff line 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() Loading tests/regressiontests/i18n/commands/extraction.py +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading Loading
tests/regressiontests/i18n/commands/compilation.py +3 −3 Original line number Diff line number Diff line 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() Loading
tests/regressiontests/i18n/commands/extraction.py +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading