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:19:52 -0500 |
commit | 3f62d20a9b17c84ba04e0b0c45eff3e596d05dd8 (patch) | |
tree | 427c8d1bda5aaa1292bb89edaab975d80cfa8520 /tests/handlers | |
parent | b5393028bfc939adf14d0fa5e4088cddd3b9dfa1 (diff) | |
download | django-3f62d20a9b17c84ba04e0b0c45eff3e596d05dd8.tar.gz |
Fixed running TransactionsPerRequestTests in isolation.
Caused by `contrib/auth/backends.py` changes in
cb7bbf97a74fa7800865e3615f196ad65dc4f281.
Diffstat (limited to 'tests/handlers')
-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 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 = [] |