1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

[1.11.x] Fixed running TransactionsPerRequestTests in isolation.

Caused by `contrib/auth/backends.py` changes in
cb7bbf97a7.

Backport of 3f62d20a9b from master
This commit is contained in:
Jon Dufresne
2017-02-04 11:19:52 -08:00
committed by Tim Graham
parent fe86a785a1
commit f14899412d

View File

@@ -110,7 +110,7 @@ class HandlerTests(SimpleTestCase):
self.assertEqual(response.status_code, 400)
@override_settings(ROOT_URLCONF='handlers.urls')
@override_settings(ROOT_URLCONF='handlers.urls', MIDDLEWARE=[])
class TransactionsPerRequestTests(TransactionTestCase):
available_apps = []