Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
devanshshukla99 authored Jun 5, 2022
1 parent d19922e commit ee9893c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,23 +77,21 @@ Example of using the decorator:
Handling requests:

- Block remote requests:
all requests are allowed by default; one can disable them using `--remote-block` flag
all requests are allowed by default; one can disable them using ``--remote-block`` flag

.. code-block:: console
$ pytest --remote-block
- Capture remote requests:
the requests can be captured in a ``json`` file using ``--remote-capture`` arg
the requests can be captured in a ``sqlite3`` database using ``--remote-capture`` arg

.. code-block:: console
$ pytest --remote-capture
- Mock remote requests:
the requests can be mocked using ``--remote-response`
NOTE: Due to certain limitations, it is advised to not use this plugin in an offline environment.
the requests can be mocked using ``--remote-response``

.. code-block:: console
Expand Down

0 comments on commit ee9893c

Please sign in to comment.