def METHOD_NAME(
    self, m_single_attempt_lock_enter, m_sleep, FakeConfig
):
    cfg = FakeConfig()
    with pytest.raises(LockHeldError) as exc:
        with SpinLock(
            cfg=cfg, lock_holder="request", sleep_time=1, max_retries=2
        ):
            pass
    assert (
        "Unable to perform: request.\n"
        + LOCK_HELD.format(lock_holder="holder", pid=10).msg
        == exc.value.msg
    )
    assert [
        mock.call(),
        mock.call(),
    ] == m_single_attempt_lock_enter.call_args_list
    assert [mock.call(1)] == m_sleep.call_args_list