summaryrefslogtreecommitdiff
path: root/tests/admin_checks
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2022-02-12 20:40:12 +0000
committerCarlton Gibson <carlton@noumenal.es>2022-03-15 16:23:55 +0100
commit3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc (patch)
tree8ab2c436451318223606470fcdc23b6dc690da20 /tests/admin_checks
parent3eaba13a476c14b75429ba34180184b81997b33a (diff)
downloaddjango-3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc.tar.gz
Fixed #31169 -- Adapted the parallel test runner to use spawn.
Co-authored-by: Valz <ahmadahussein0@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk>
Diffstat (limited to 'tests/admin_checks')
-rw-r--r--tests/admin_checks/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/admin_checks/tests.py b/tests/admin_checks/tests.py
index 2646837bbc..aa87649dce 100644
--- a/tests/admin_checks/tests.py
+++ b/tests/admin_checks/tests.py
@@ -70,6 +70,8 @@ class SessionMiddlewareSubclass(SessionMiddleware):
],
)
class SystemChecksTestCase(SimpleTestCase):
+ databases = "__all__"
+
def test_checks_are_performed(self):
admin.site.register(Song, MyAdmin)
try: