Skip to content

Commit

Permalink
Remove duplicate contents in document
Browse files Browse the repository at this point in the history
Since the contents of line 61 and line 75 of the 'testing' document are
duplicated, the content of line 61 is removed for context.

Signed-off-by: sinabeuro <[email protected]>
  • Loading branch information
sinabeuro committed Dec 18, 2020
1 parent fc4b7df commit 39e12ac
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/sanic/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ More information about
the available arguments to `httpx` can be found
[in the documentation for `httpx <https://www.encode.io/httpx/>`_.

Additionally, Sanic has an asynchronous testing client. The difference is that the async client will not stand up an
instance of your application, but will instead reach inside it using ASGI. All listeners and middleware are still
executed.

.. code-block:: python
@pytest.mark.asyncio
async def test_index_returns_200():
Expand Down

0 comments on commit 39e12ac

Please sign in to comment.