summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-04-28 18:41:16 -0400
committerTim Graham <timograham@gmail.com>2014-04-28 18:49:24 -0400
commit1d20693fa67f314de08e51af57af6fb5460b7b0c (patch)
tree2eae7de75eca4e7fe78c8d0859c24d9dbcc470a9 /docs/topics/testing
parentedca57817fa5c366483194020967cd9d4ef1318c (diff)
[1.7.x] Revert "Fixed #15179 -- middlewares not applied for test client login()"
This reverts commit 4fdd51b73240bf9c8d9472fcc45df699f0714755. See the ticket for concerns with this implementation; it will be revisited. Backport of aabceadd7d from master
Diffstat (limited to 'docs/topics/testing')
-rw-r--r--docs/topics/testing/tools.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index 223fcd45a8..c973ffdc32 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -360,13 +360,6 @@ Use the ``django.test.Client`` class to make requests.
:meth:`~django.contrib.auth.models.UserManager.create_user` helper
method to create a new user with a correctly hashed password.
- .. versionadded:: 1.7
-
- Requests made with :meth:`~django.test.Client.login` go through the
- request middleware. If you need to control the environment, you can
- do so at :class:`~django.test.Client` instantiation or with the
- `Client.defaults` attribute.
-
.. method:: Client.logout()
If your site uses Django's :doc:`authentication system</topics/auth/index>`,
@@ -377,13 +370,6 @@ Use the ``django.test.Client`` class to make requests.
and session data cleared to defaults. Subsequent requests will appear
to come from an :class:`~django.contrib.auth.models.AnonymousUser`.
- .. versionadded:: 1.7
-
- Requests made with :meth:`~django.test.Client.logout` go through the
- request middleware. If you need to control the environment, you can
- do so at :class:`~django.test.Client` instantiation or with the
- `Client.defaults` attribute.
-
Testing responses
~~~~~~~~~~~~~~~~~