diff options
| author | Tim Graham <timograham@gmail.com> | 2016-01-02 06:00:25 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-04 11:45:26 -0500 |
| commit | 2c6c873e3fca6c0c54c2335e131f7742fcf2cf26 (patch) | |
| tree | fdc9c72058228ebefd586d5591c2b8fa87251834 /tests/contenttypes_tests | |
| parent | b07f91600d61a2f8d58adb4c92d36dd0b2b34fe7 (diff) | |
Fixed #26009 -- Fixed contenttypes_tests isolation.
Diffstat (limited to 'tests/contenttypes_tests')
| -rw-r--r-- | tests/contenttypes_tests/test_order_with_respect_to.py | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/tests/contenttypes_tests/test_order_with_respect_to.py b/tests/contenttypes_tests/test_order_with_respect_to.py index 5d7f99d48b..3f5fe41ff1 100644 --- a/tests/contenttypes_tests/test_order_with_respect_to.py +++ b/tests/contenttypes_tests/test_order_with_respect_to.py @@ -1,18 +1,11 @@ -from order_with_respect_to.tests import ( - OrderWithRespectToTests, OrderWithRespectToTests2, -) +from order_with_respect_to.base_tests import BaseOrderWithRespectToTests + +from django.test import TestCase from .models import Answer, Post, Question -class OrderWithRespectToGFKTests(OrderWithRespectToTests): +class OrderWithRespectToGFKTests(BaseOrderWithRespectToTests, TestCase): Answer = Answer - Question = Question - -del OrderWithRespectToTests - - -class OrderWithRespectToGFKTests2(OrderWithRespectToTests2): Post = Post - -del OrderWithRespectToTests2 + Question = Question |
