diff options
author | Tim Graham <timograham@gmail.com> | 2018-11-26 14:05:02 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2018-11-27 08:58:44 -0500 |
commit | 193c109327c5216cab1d4eed6bfdff24629b09a3 (patch) | |
tree | 3428f61d610f51349df5ab6eb26a4876b54878c5 /tests/order_with_respect_to | |
parent | f091ea35150d95fc6732bbf0c27b971dd445509a (diff) | |
download | django-193c109327c5216cab1d4eed6bfdff24629b09a3.tar.gz |
Switched TestCase to SimpleTestCase where possible in Django's tests.
Diffstat (limited to 'tests/order_with_respect_to')
-rw-r--r-- | tests/order_with_respect_to/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/order_with_respect_to/tests.py b/tests/order_with_respect_to/tests.py index a047516caa..c433269a3b 100644 --- a/tests/order_with_respect_to/tests.py +++ b/tests/order_with_respect_to/tests.py @@ -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): |