mirror of https://github.com/django/django.git
[1.11.x] Fixed running TransactionsPerRequestTests in isolation.
Caused by `contrib/auth/backends.py` changes incb7bbf97a7
. Backport of3f62d20a9b
from master
This commit is contained in:
parent
fe86a785a1
commit
f14899412d
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue