mirror of
https://github.com/django/django.git
synced 2024-11-28 21:43:13 +01:00
24 lines
433 B
Python
24 lines
433 B
Python
import unittest
|
|
|
|
|
|
class NoDatabaseTests(unittest.TestCase):
|
|
def test_nothing(self):
|
|
pass
|
|
|
|
|
|
class DefaultDatabaseTests(NoDatabaseTests):
|
|
databases = {"default"}
|
|
|
|
|
|
class DefaultDatabaseSerializedTests(NoDatabaseTests):
|
|
databases = {"default"}
|
|
serialized_rollback = True
|
|
|
|
|
|
class OtherDatabaseTests(NoDatabaseTests):
|
|
databases = {"other"}
|
|
|
|
|
|
class AllDatabasesTests(NoDatabaseTests):
|
|
databases = "__all__"
|