diff options
| author | Natalia <124304+nessita@users.noreply.github.com> | 2024-05-03 14:39:43 -0300 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2024-05-22 15:44:07 -0300 |
| commit | 05cce083ad662913008e107bc6332e7ffe1502e6 (patch) | |
| tree | b3362d27330f0f78c33a713871e1ec7d6eac2ef2 /docs/topics/testing | |
| parent | ec44247f597d09b7ca7a54d33249ec02c5fbeb07 (diff) | |
Removed versionadded/changed annotations for 5.0.
This also removes remaining versionadded/changed annotations for older
versions.
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/advanced.txt | 4 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 18 |
2 files changed, 0 insertions, 22 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index d889bd02ee..6b03f0f82b 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -628,10 +628,6 @@ and tear down the test suite. custom arguments by calling ``parser.add_argument()`` inside the method, so that the :djadmin:`test` command will be able to use those arguments. - .. versionadded:: 5.0 - - The ``durations`` argument was added. - Attributes ~~~~~~~~~~ diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 5ec41920e0..363505a0fc 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -497,10 +497,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. - .. versionchanged:: 5.0 - - ``alogin()`` method was added. - .. method:: Client.force_login(user, backend=None) .. method:: Client.aforce_login(user, backend=None) @@ -528,10 +524,6 @@ Use the ``django.test.Client`` class to make requests. ``login()`` by :ref:`using a weaker hasher while testing <speeding-up-tests-auth-hashers>`. - .. versionchanged:: 5.0 - - ``aforce_login()`` method was added. - .. method:: Client.logout() .. method:: Client.alogout() @@ -545,10 +537,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`. - .. versionchanged:: 5.0 - - ``alogout()`` method was added. - Testing responses ----------------- @@ -735,8 +723,6 @@ access these properties as part of a test condition. .. method:: Client.asession() - .. versionadded:: 5.0 - This is similar to the :attr:`session` attribute but it works in async contexts. @@ -2062,10 +2048,6 @@ test client, with the following exceptions: >>> c = AsyncClient() >>> c.get("/customers/details/", {"name": "fred", "age": 7}, ACCEPT="application/json") -.. versionchanged:: 5.0 - - Support for the ``follow`` parameter was added to the ``AsyncClient``. - .. versionchanged:: 5.1 The ``query_params`` argument was added. |
