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:48:50 -0500 |
| commit | 775291d4c767cd17dc5bbd2e8a605fd4fdfd8aed (patch) | |
| tree | 3a1374bd1fb342e752daaa7434327bda14911b0d /tests/contenttypes_tests | |
| parent | 0a72ad3952c0a2e335ed8518d31647e6536ee3fe (diff) | |
[1.9.x] Fixed #26009 -- Fixed contenttypes_tests isolation.
Backport of 2c6c873e3fca6c0c54c2335e131f7742fcf2cf26 from master
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 |
