Skip to content

Commit 889c847

Browse files
committed
docs: minor fixes to previous commit
1 parent 3e8ff2a commit 889c847

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/helpers.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,15 @@ Example
140140
``async_rf`` - ``AsyncRequestFactory``
141141
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142142

143-
An instance of a `django.test.AsyncRequestFactory`
143+
An instance of a `django.test.AsyncRequestFactory`_.
144144

145-
.. _django.test.AsyncRequestFactory: https://docs.djangoproject.com/en/3.1/topics/testing/advanced/#asyncrequestfactory
145+
.. _django.test.AsyncRequestFactory: https://docs.djangoproject.com/en/stable/topics/testing/advanced/#asyncrequestfactory
146146

147147
Example
148148
"""""""
149149

150+
This example uses `pytest-asyncio <https://github.com/pytest-dev/pytest-asyncio>`_.
151+
150152
::
151153

152154
from myapp.views import my_view
@@ -195,13 +197,15 @@ To use `client` as an authenticated standard user, call its
195197
``async_client`` - ``django.test.AsyncClient``
196198
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
197199

198-
An instance of a `django.test.AsyncClient`
200+
An instance of a `django.test.AsyncClient`_.
199201

200-
.. _django.test.AsyncClient: https://docs.djangoproject.com/en/stable/topics/testing/tools/#the-test-client
202+
.. _django.test.AsyncClient: https://docs.djangoproject.com/en/stable/topics/testing/tools/#testing-asynchronous-code
201203

202204
Example
203205
"""""""
204206

207+
This example uses `pytest-asyncio <https://github.com/pytest-dev/pytest-asyncio>`_.
208+
205209
::
206210

207211
@pytest.mark.asyncio

0 commit comments

Comments
 (0)