Skip to content

Commit

Permalink
Provide pytest-aiohttp namespace for pytest fixtures in the doc (#4059)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored Sep 15, 2019
1 parent f9c7b0a commit dc39183
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/3723.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Provide pytest-aiohttp namespace for pytest fixtures in docs.
5 changes: 5 additions & 0 deletions docs/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ proxy methods to the client for common operations such as
Pytest
~~~~~~

.. currentmodule:: pytest_aiohttp

The :data:`aiohttp_client` fixture available from pytest-aiohttp_ plugin
allows you to create a client to make requests to test your app.

Expand Down Expand Up @@ -235,6 +237,9 @@ Pytest tooling has the following fixtures:
Unittest
~~~~~~~~

.. currentmodule:: aiohttp.test_utils


To test applications with the standard library's unittest or unittest-based
functionality, the AioHTTPTestCase is provided::

Expand Down

0 comments on commit dc39183

Please sign in to comment.