mirror of
https://github.com/django/django.git
synced 2025-09-18 08:20:10 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
parent
e2b77acedd
commit
be67400b47
93 changed files with 362 additions and 340 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue