Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Example
.. code:: python

import requests
from pytest_httpserver import HTTPServer


def test_json_client(httpserver: HTTPServer):
Expand Down
3 changes: 3 additions & 0 deletions doc/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ With pytest-httpserver, a test looks like this:
.. code:: python

import requests
from pytest_httpserver import HTTPServer


def test_json_client(httpserver: HTTPServer):
Expand Down Expand Up @@ -457,6 +458,7 @@ soon as possible.
.. code:: python

import requests
from pytest_httpserver import HTTPServer


def test_json_client(httpserver: HTTPServer):
Expand Down Expand Up @@ -484,6 +486,7 @@ Adding more call of ``check_assertions()`` will help.
.. code:: python

import requests
from pytest_httpserver import HTTPServer


def test_json_client(httpserver: HTTPServer):
Expand Down