summaryrefslogtreecommitdiff
path: root/tests/serializers
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2015-04-17 17:38:20 -0400
committerSimon Charette <charette.s@gmail.com>2015-05-20 13:46:13 -0400
commitbe67400b477c1b0e7e81766f41bbceed0de74bdc (patch)
treefd8e6d087082754df9159a5549bfa80e2a8c57d9 /tests/serializers
parente2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff)
Refs #24652 -- Used SimpleTestCase where appropriate.
Diffstat (limited to 'tests/serializers')
-rw-r--r--tests/serializers/tests.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/serializers/tests.py b/tests/serializers/tests.py
index db2f07d41d..c223fc4036 100644
--- a/tests/serializers/tests.py
+++ b/tests/serializers/tests.py
@@ -11,7 +11,8 @@ from xml.dom import minidom
from django.core import management, serializers
from django.db import connection, transaction
from django.test import (
- TestCase, TransactionTestCase, override_settings, skipUnlessDBFeature,
+ SimpleTestCase, TestCase, TransactionTestCase, override_settings,
+ skipUnlessDBFeature,
)
from django.test.utils import Approximate
from django.utils import six
@@ -34,7 +35,7 @@ except ImportError:
"json2": "django.core.serializers.json",
}
)
-class SerializerRegistrationTests(TestCase):
+class SerializerRegistrationTests(SimpleTestCase):
def setUp(self):
self.old_serializers = serializers._serializers
serializers._serializers = {}
@@ -664,7 +665,7 @@ class YamlImportModuleMock(object):
return self._import_module(module_path)
-class NoYamlSerializerTestCase(TestCase):
+class NoYamlSerializerTestCase(SimpleTestCase):
"""Not having pyyaml installed provides a misleading error
Refs: #12756