

def test_base_response():
    response = Mock()
    response.text = 'OK'
    mock = Mock()
    mock.url = 'http://example.com'
    mock.http_client.request.return_value = response
    response = ResponseProperty()
    with raises(KeyError):
        response.provide_value(response)

dataset/ETHPy150Open douban/brownant/tests/test_pipeline/test_network.py test_base_response/VarMisuse@61/79 `mock`->`response`