def METHOD_NAME(mock_sleep: mock.MagicMock) -> None:
    session = Client().session
    url = 'https://example.com/data'
    with requests_mock.mock(session=session) as m:
        m.get(url, status_code=503)
        with pytest.raises(requests.HTTPError):
            session.get(url)
    assert m.call_count == RunConfiguration.request_max_attempts