summaryrefslogtreecommitdiff
path: root/tests/model_validation
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/model_validation
parente2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff)
Refs #24652 -- Used SimpleTestCase where appropriate.
Diffstat (limited to 'tests/model_validation')
-rw-r--r--tests/model_validation/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/model_validation/tests.py b/tests/model_validation/tests.py
index 677e21b37a..ba91f326ee 100644
--- a/tests/model_validation/tests.py
+++ b/tests/model_validation/tests.py
@@ -1,7 +1,7 @@
from django.core import management
from django.core.checks import Error, run_checks
from django.db.models.signals import post_init
-from django.test import TestCase
+from django.test import SimpleTestCase
from django.test.utils import override_settings
from django.utils import six
@@ -19,7 +19,7 @@ def on_post_init(**kwargs):
INSTALLED_APPS=['django.contrib.auth', 'django.contrib.contenttypes'],
SILENCED_SYSTEM_CHECKS=['fields.W342'], # ForeignKey(unique=True)
)
-class ModelValidationTest(TestCase):
+class ModelValidationTest(SimpleTestCase):
def test_models_validate(self):
# All our models should validate properly
# Validation Tests: