From d819f95eb14049113fad46484f5c525d2d43c7d7 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Tue, 30 Mar 2021 12:41:22 -0400 Subject: [PATCH] docs: update for unix sockets In #54 this flag was added, and let's document it. Signed-off-by: Mike Fiedler --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rst b/README.rst index 958a0e8..24acb1c 100644 --- a/README.rst +++ b/README.rst @@ -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: