diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-02-04 11:19:52 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-02-04 14:20:10 -0500 |
| commit | f14899412d2fa779e3f8dbfa6e63b8a6a7a765a5 (patch) | |
| tree | c528089967ff511d1d4b649275e0850a147afbd6 | |
| parent | fe86a785a1079f646e7ad452f6fac08ec4d3378c (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.py | 2 |
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 = [] |
