def METHOD_NAME(mocker):
    def callback(request, context):
        return b''
    with mocker.register_uri(
        'GET', 'http://example.com/proc', content=callback
    ) as matcher:
        yield matcher