Merge branch 'master' into patch-1

This commit is contained in:
Adam Hopkins
2020-12-25 06:48:42 +02:00
committed by GitHub
10 changed files with 39 additions and 128 deletions

View File

@@ -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():