summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Falcão (he/him/his) <gabriel.falcao@nytimes.com>2021-05-13 02:06:27 +0200
committerGabriel Falcão (he/him/his) <gabriel.falcao@nytimes.com>2021-05-13 02:06:27 +0200
commit2224470ecc15daa78832aefb50c03e9d7aab454e (patch)
tree271791098d0d366ad1cf023a9a6bb065bf49e7e9
parent4614a45ddf8478a6663e25b692d793074031002e (diff)
downloadhttpretty-2224470ecc15daa78832aefb50c03e9d7aab454e.tar.gz
update readme
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index a487343..2e8131f 100644
--- a/README.rst
+++ b/README.rst
@@ -87,7 +87,7 @@ Simple Example
import requests
- @httpretty.activate
+ @httpretty.activate(verbose=True, allow_net_connect=False)
def test_httpbin():
httpretty.register_uri(
httpretty.GET,
@@ -108,7 +108,7 @@ checking multiple responses
.. code:: python
- @httpretty.activate
+ @httpretty.activate(verbose=True, allow_net_connect=False)
def test_post_bodies():
url = 'http://httpbin.org/post'
httpretty.register_uri(httpretty.POST, url, status=200)