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
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue