Skip to content

Commit

Permalink
fix(#27): matches
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Dec 5, 2016
1 parent 9ca156d commit c0f7138
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,7 @@ Using the chainable API DSL:
resp = requests.get('http://twitter.com/api/1/foobar')
assert resp.json() == {"error": "not found"}
assert len(mock.calls) == 1
assert mock.calls[0].request.url == 'http://twitter.com/api/1/foobar'
assert mock.calls[0].response.text == '{"error": "not found"}'
assert mock._matches == 1
Using the decorator:

Expand Down

0 comments on commit c0f7138

Please sign in to comment.