Skip to content

Commit

Permalink
fix README example (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavdmyt authored and h2non committed Oct 17, 2017
1 parent 9ff0eeb commit 95f7d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Basic mocking:
@pook.on
def test_my_api():
mock = pook.get('http://twitter.com/api/1/foobar', reply=404, response_json={'error': 'foo'})
mock = pook.get('http://twitter.com/api/1/foobar', reply=404, response_json={'error': 'not found'})
resp = requests.get('http://twitter.com/api/1/foobar')
assert resp.status_code == 404
Expand Down

0 comments on commit 95f7d23

Please sign in to comment.