mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +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
|
@ -1,7 +1,7 @@
|
|||
from operator import attrgetter
|
||||
|
||||
from django.db import models
|
||||
from django.test import TestCase
|
||||
from django.test import SimpleTestCase, TestCase
|
||||
from django.test.utils import isolate_apps
|
||||
|
||||
from .base_tests import BaseOrderWithRespectToTests
|
||||
|
@ -14,7 +14,7 @@ class OrderWithRespectToBaseTests(BaseOrderWithRespectToTests, TestCase):
|
|||
Question = Question
|
||||
|
||||
|
||||
class OrderWithRespectToTests(TestCase):
|
||||
class OrderWithRespectToTests(SimpleTestCase):
|
||||
|
||||
@isolate_apps('order_with_respect_to')
|
||||
def test_duplicate_order_field(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue