1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Revert "Fixed #15179 -- middlewares not applied for test client login()"

This reverts commit 4fdd51b732.

See the ticket for concerns with this implementation; it will be revisited.
This commit is contained in:
Tim Graham
2014-04-28 18:41:16 -04:00
parent 26b03f2526
commit aabceadd7d
4 changed files with 4 additions and 68 deletions

View File

@@ -802,11 +802,6 @@ Tests
:class:`~django.test.Client`. If ``True``, the request will be made
through HTTPS.
* Requests made with :meth:`Client.login() <django.test.Client.login>` and
:meth:`Client.logout() <django.test.Client.logout>` respect defaults defined
in :class:`~django.test.Client` instantiation and are processed through
middleware.
* :meth:`~django.test.TransactionTestCase.assertNumQueries` now prints
out the list of executed queries if the assertion fails.