summaryrefslogtreecommitdiff
path: root/tests/test_discovery_sample3/tests_transaction_test_case_ordering.py
blob: 8d79bc08a67e81eef5dda3951d27c5630a3a5dd7 (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
from unittest import TestCase

from django.test import (
    SimpleTestCase, TestCase as DjangoTestCase, TransactionTestCase,
)


class TestDjangoTestCase(DjangoTestCase):
    def test_sample(self):
        self.assertEqual(1, 1)


class TestVanillaUnittest(TestCase):
    def test_sample(self):
        self.assertEqual(1, 1)


class TestZimpleTestCase(SimpleTestCase):
    # Z gets this test to appear after Vanilla in the default suite.
    def test_sample(self):
        self.assertEqual(1, 1)


class TestTransactionTestCase(TransactionTestCase):
    available_apps = ['test_discovery_sample3']

    def test_sample(self):
        self.assertEqual(1, 1)