Skip to content

Commit

Permalink
Simplified i18n commands tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiro committed Jan 17, 2013
1 parent 248aee1 commit 295650b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tests/regressiontests/i18n/commands/compilation.py
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
4 changes: 2 additions & 2 deletions tests/regressiontests/i18n/commands/extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
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


LOCALE='de'

class ExtractorTests(TestCase):
class ExtractorTests(SimpleTestCase):

PO_FILE='locale/%s/LC_MESSAGES/django.po' % LOCALE

Expand Down

0 comments on commit 295650b

Please sign in to comment.