blob: ac72238e11dc9adb6652ddb6eccd54f1f88fca2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
from unittest import TestCase
from django.test import TestCase as DjangoTestCase, TransactionTestCase
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)
class TestTransactionTestCase3(TransactionTestCase):
available_apps = ['test_discovery_sample3']
serialized_rollback = False
def test_sample(self):
self.assertEqual(1, 1)
|