mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Switched TestCase to SimpleTestCase where possible in Django's tests.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user