requests-mock/requests_mock/tests
Jamie Lennox b2026313e3 Allow doing real_http per mock via the mocker
If you set up requests_mock to catch all requests (which I would
recommend) you sometimes get caught with things like file:// paths that
should be allowed to reach the filesystem.

To do this we should allow you to add a matcher that says a specific
route can bypass the catch all and do a real request.

This is a bit of a layer violation but I thought it was easy to start
with, then realized why it wasn't.

Change-Id: Ic2516f78413b88a489c8d6bd2bc39b8ebb5bf273
Closes-Bug: #1501665
2016-08-25 17:43:19 +10:00
..
__init__.py Initial commit 2014-04-10 13:13:07 +10:00
base.py Initial commit 2014-04-10 13:13:07 +10:00
test_adapter.py Expose cert and proxies as attributes of the last request. 2016-05-09 13:50:59 +10:00
test_custom_matchers.py Don't use requests.Response object directly 2014-08-28 10:18:24 +10:00
test_fixture.py Create the Mocker 2014-06-23 16:03:40 +10:00
test_matcher.py Allow doing real_http per mock via the mocker 2016-08-25 17:43:19 +10:00
test_mocker.py Allow doing real_http per mock via the mocker 2016-08-25 17:43:19 +10:00
test_response.py Support Cookies 2015-11-18 12:00:09 +11:00