2018-07-12 04:14:24 +00:00
|
|
|
import unittest
|
|
|
|
|
|
|
|
|
|
|
|
class NoDatabaseTests(unittest.TestCase):
|
|
|
|
def test_nothing(self):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class DefaultDatabaseTests(NoDatabaseTests):
|
|
|
|
databases = {'default'}
|
|
|
|
|
|
|
|
|
2021-02-15 03:42:47 +00:00
|
|
|
class DefaultDatabaseSerializedTests(NoDatabaseTests):
|
|
|
|
databases = {'default'}
|
|
|
|
serialized_rollback = True
|
|
|
|
|
|
|
|
|
2018-07-12 04:14:24 +00:00
|
|
|
class OtherDatabaseTests(NoDatabaseTests):
|
|
|
|
databases = {'other'}
|
|
|
|
|
|
|
|
|
|
|
|
class AllDatabasesTests(NoDatabaseTests):
|
|
|
|
databases = '__all__'
|