async def METHOD_NAME(raises, config, mocker):
    async def foo(*args):
        raise TaskclusterRestFailure("foo", None, status_code=4)
    queue = mocker.MagicMock()
    if raises:
        queue.claimWork = foo
    else:
        queue.claimWork = noop_async
    assert await worker.claim_work(config, queue) is None