-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Appconfig} Disable incorrect test cases #31115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @jiasli, |
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
|
+@albertofori for awareness |
Description
Fix #30983 (comment)
These 2 tests from #30983 are incorrect as they should not assume the credential type. It is Azure CLI Core's internal implementation. Azure CLI Core only guarantees
get_tokenis implemented.test_azconfig_mi_token_overrideblocks #31092 ascli_ctxis amock.MagicMock(), forcingcli_ctx.config.getboolean('core', 'use_msal_managed_identity', fallback=False)to be aMagicMock(True). In this case, aCredentialAdaptoris returned, instead ofMSIAuthenticationWrapper.