summaryrefslogtreecommitdiff
path: root/tests/i18n/contenttypes/tests.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-01-26 14:29:04 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-01-27 22:01:22 +0100
commitb951a7fbc12045eff104940dafaec308a543ead2 (patch)
tree1dbf9095629c68f19110eaabe1824dc8e1c49593 /tests/i18n/contenttypes/tests.py
parent3145ae06beed2f8c679db5d7a06907dd2a03d138 (diff)
Removed superfluous uses of TransRealMixin.
The translation.override context manager cleans up after itself. As a consequence this mixin isn't needed any more in many cases.
Diffstat (limited to 'tests/i18n/contenttypes/tests.py')
-rw-r--r--tests/i18n/contenttypes/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/i18n/contenttypes/tests.py b/tests/i18n/contenttypes/tests.py
index 894ae0a3c7..3e25867616 100644
--- a/tests/i18n/contenttypes/tests.py
+++ b/tests/i18n/contenttypes/tests.py
@@ -5,7 +5,6 @@ import os
from django.contrib.contenttypes.models import ContentType
from django.test import TestCase, override_settings
-from django.test.utils import TransRealMixin
from django.utils._os import upath
from django.utils import six
from django.utils import translation
@@ -22,7 +21,7 @@ from django.utils import translation
('fr', 'French'),
),
)
-class ContentTypeTests(TransRealMixin, TestCase):
+class ContentTypeTests(TestCase):
def test_verbose_name(self):
company_type = ContentType.objects.get(app_label='i18n', model='company')
with translation.override('en'):