def test_http_status_error_in_force_list(self):
        """Ensures it returns True for HTTPStatusError with status in STATUS_FORCE_LIST."""
        response_mock = Mock()
        response_mock.status_code = 500
        original_exception = httpx.HTTPStatusError(
            "Error", request=None, response=response_mock
        )
        exception = ExtendedRequestException(
            "Message", original_exception, "Response text"
        )

        result = _should_retry_exception(exception)
        assert result is True
Ensures it returns True for HTTPStatusError with status in STATUS_FORCE_LIST.
llama-index-integrations/llms/llama-index-llms-oci-data-science/tests/test_oci_data_science_client.py