Skip to content

Commit

Permalink
docs: update for unix sockets
Browse files Browse the repository at this point in the history
In #54 this flag was added, and let's document it.

Signed-off-by: Mike Fiedler <[email protected]>
  • Loading branch information
miketheman committed Mar 30, 2021
1 parent 305b77e commit d819f95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ Usage
def pytest_runtest_setup():
disable_socket()
* To enable Unix sockets during the test run (e.g. for async), add this option:

.. code:: ini
[pytest]
addopts = --disable-socket --allow-unix-socket
* To enable specific tests use of ``socket``, pass in the fixture to the test or use a marker:

Expand Down

0 comments on commit d819f95

Please sign in to comment.