File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff 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
147147Example
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
202204Example
203205"""""""
204206
207+ This example uses `pytest-asyncio <https://github.com/pytest-dev/pytest-asyncio >`_.
208+
205209::
206210
207211 @pytest.mark.asyncio
You can’t perform that action at this time.
0 commit comments