def METHOD_NAME(self):
    cnf = DEFAULT_CONFIG
    cnf.max_backoff_seconds = 0
    retry_tracker = _RetryTracker(cnf)
    c = HTTPClient(
        config=cnf,
        refresh_auth_header=lambda headers: None,
        retry_tracker_factory=lambda _: retry_tracker,
        session=MagicMock(request=MagicMock(return_value=MagicMock(status_code=429))),
    )
    res = c.request("GET", "bla")
    assert res.status_code == 429
    assert retry_tracker.total == DEFAULT_CONFIG.max_retries_status
    assert retry_tracker.read == 0
    assert retry_tracker.connect == 0
    assert retry_tracker.status == DEFAULT_CONFIG.max_retries_status