summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-02-04 11:19:52 -0800
committerTim Graham <timograham@gmail.com>2017-02-04 14:20:10 -0500
commitf14899412d2fa779e3f8dbfa6e63b8a6a7a765a5 (patch)
treec528089967ff511d1d4b649275e0850a147afbd6
parentfe86a785a1079f646e7ad452f6fac08ec4d3378c (diff)
[1.11.x] Fixed running TransactionsPerRequestTests in isolation.
Caused by `contrib/auth/backends.py` changes in cb7bbf97a74fa7800865e3615f196ad65dc4f281. Backport of 3f62d20a9b17c84ba04e0b0c45eff3e596d05dd8 from master
-rw-r--r--tests/handlers/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/tests.py b/tests/handlers/tests.py
index a420917421..29083150a7 100644
--- a/tests/handlers/tests.py
+++ b/tests/handlers/tests.py
@@ -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 = []