From 3f62d20a9b17c84ba04e0b0c45eff3e596d05dd8 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 4 Feb 2017 11:19:52 -0800 Subject: [PATCH] Fixed running TransactionsPerRequestTests in isolation. Caused by `contrib/auth/backends.py` changes in cb7bbf97a74fa7800865e3615f196ad65dc4f281. --- tests/handlers/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/handlers/tests.py b/tests/handlers/tests.py index ffb8a1f145..ae387c9f46 100644 --- a/tests/handlers/tests.py +++ b/tests/handlers/tests.py @@ -93,7 +93,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 = []