1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Switched TestCase to SimpleTestCase where possible in Django's tests.

This commit is contained in:
Tim Graham
2018-11-26 14:05:02 -05:00
parent f091ea3515
commit 193c109327
37 changed files with 130 additions and 134 deletions

View File

@@ -8,7 +8,7 @@ from django.db.migrations.graph import MigrationGraph
from django.db.migrations.recorder import MigrationRecorder
from django.db.utils import DatabaseError
from django.test import (
TestCase, modify_settings, override_settings, skipUnlessDBFeature,
SimpleTestCase, modify_settings, override_settings, skipUnlessDBFeature,
)
from .test_base import MigrationTestBase
@@ -685,7 +685,7 @@ class FakeMigration:
return 'M<%s>' % self.name
class ExecutorUnitTests(TestCase):
class ExecutorUnitTests(SimpleTestCase):
"""(More) isolated unit tests for executor methods."""
def test_minimize_rollbacks(self):
"""