mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Switched TestCase to SimpleTestCase where possible in Django's tests.
This commit is contained in:
parent
f091ea3515
commit
193c109327
37 changed files with 130 additions and 134 deletions
|
@ -5,12 +5,12 @@ from django.contrib.contenttypes.models import ContentType
|
|||
from django.core.checks import Error
|
||||
from django.core.exceptions import FieldDoesNotExist, FieldError
|
||||
from django.db import models
|
||||
from django.test import TestCase
|
||||
from django.test import SimpleTestCase
|
||||
from django.test.utils import isolate_apps
|
||||
|
||||
|
||||
@isolate_apps('model_inheritance')
|
||||
class AbstractInheritanceTests(TestCase):
|
||||
class AbstractInheritanceTests(SimpleTestCase):
|
||||
def test_single_parent(self):
|
||||
class AbstractBase(models.Model):
|
||||
name = models.CharField(max_length=30)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue