From 180ed14918e1ad2947edc4c785379cbda1106352 Mon Sep 17 00:00:00 2001 From: hsuyuming Date: Mon, 23 Jun 2025 19:11:06 -0600 Subject: [PATCH] fix: fix test_get_azure_ad_token_with_oidc_token testcase issue, because (#11988) CI/CD pipeline setup AZURE_CLIENT_SECRET within enviroment variable, so we need to setup as None in this case --- tests/test_litellm/llms/azure/test_azure_common_utils.py | 1 + 1 file changed, 1 insertion(+) 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