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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user