skip to navigation
skip to content

pytest-responses 0.1.0

py.test integration for responses

Automatically activate responses across your py.test-powered test suite (thus preventing HTTP requests).

If particular tests need access to external domains, you can use the withoutresponses marker:

def test_disabled():
    with pytest.raises(ConnectionError):

    assert len(responses.calls) == 0
File Type Py Version Uploaded on Size
pytest-responses-0.1.0.tar.gz (md5) Source 2016-12-12 5KB
pytest_responses-0.1.0-py2.py3-none-any.whl (md5) Python Wheel 2.7 2016-12-12 3KB