diff options
Diffstat (limited to 'tests/test_discovery_sample3/tests_transaction_test_case_mixed.py')
| -rw-r--r-- | tests/test_discovery_sample3/tests_transaction_test_case_mixed.py | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/tests/test_discovery_sample3/tests_transaction_test_case_mixed.py b/tests/test_discovery_sample3/tests_transaction_test_case_mixed.py deleted file mode 100644 index 13059bbb87..0000000000 --- a/tests/test_discovery_sample3/tests_transaction_test_case_mixed.py +++ /dev/null @@ -1,50 +0,0 @@ -from unittest import TestCase - -from django.test import ( - TestCase as DjangoTestCase, TransactionTestCase, skipUnlessDBFeature, -) - - -class TestVanillaUnittest(TestCase): - def test_sample(self): - self.assertEqual(1, 1) - - -class TestDjangoTestCase(DjangoTestCase): - def test_sample(self): - self.assertEqual(1, 1) - - -class TestTransactionTestCase1(TransactionTestCase): - available_apps = ['test_discovery_sample3'] - serialized_rollback = False - - def test_sample(self): - self.assertEqual(1, 1) - - -class TestTransactionTestCase2(TransactionTestCase): - available_apps = ['test_discovery_sample3'] - serialized_rollback = True - - def test_sample(self): - self.assertEqual(1, 1) - - -# django.test.runner.reorder_postprocess() ignores this skipped test when -# assigning _next_serialized_rollback. -@skipUnlessDBFeature('nonexistent') -class TestTransactionTestCase3(TransactionTestCase): - available_apps = ['test_discovery_sample3'] - serialized_rollback = True - - def test_sample(self): - self.assertEqual(1, 1) - - -class TestTransactionTestCase4(TransactionTestCase): - available_apps = ['test_discovery_sample3'] - serialized_rollback = False - - def test_sample(self): - self.assertEqual(1, 1) |
