def METHOD_NAME(monkeypatch):
    monkeypatch.setattr('processor.helper.httpapi.http_utils.request.urlopen', mock_urlopen_exception)
    from processor.helper.httpapi.http_utils import http_put_request
    st, ret = http_put_request('http://a.b.c', {'a': 'b'})
    assert ret is None
    assert st == 404