def test_create_retry_decorator(self):
        """Ensures the retry decorator is created with correct parameters."""
        max_retries = 5
        backoff_factor = 2
        random_exponential = False
        stop_after_delay_seconds = 100
        min_seconds = 1
        max_seconds = 10

        retry_decorator = _create_retry_decorator(
            max_retries,
            backoff_factor,
            random_exponential,
            stop_after_delay_seconds,
            min_seconds,
            max_seconds,
        )

        assert callable(retry_decorator)
Ensures the retry decorator is created with correct parameters.
llama-index-integrations/embeddings/llama-index-embeddings-oci-data-science/tests/test_oci_data_science_client.py