Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix: fix test_get_azure_ad_token_with_oidc_token testcase issue, because (#11988)

hsuyuming180ed14918e1
diff --git a/tests/test_litellm/llms/azure/test_azure_common_utils.py b/tests/test_litellm/llms/azure/test_azure_common_utils.py
index c3eab6e1578..0ae04c357e7 100644
--- a/tests/test_litellm/llms/azure/test_azure_common_utils.py
+++ b/tests/test_litellm/llms/azure/test_azure_common_utils.py
@@ -1237,6 +1237,7 @@ def test_get_azure_ad_token_with_oidc_token(setup_mocks):
azure_scope="test-azure-scope",
# Ensure no other auth methods are available
azure_ad_token_provider=None,
+ client_secret=None
)
# Call the function