mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix: add default credential for azure (#7095) (#7891)
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 11s
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 11s
* fix: add default credential for azure (#7095) * fix: fix linting error * fix: remove redundant test * test: skip redundant test --------- Co-authored-by: you-n-g <you-n-g@users.noreply.github.com>
This commit is contained in:
parent
c8aa876785
commit
b81072d90c
2 changed files with 25 additions and 9 deletions
|
@ -84,6 +84,9 @@ async def test_router_init():
|
|||
)
|
||||
|
||||
|
||||
@pytest.mark.skip(
|
||||
reason="This test is not relevant to the current codebase. The default Azure AD workflow is used."
|
||||
)
|
||||
@patch("litellm.secret_managers.get_azure_ad_token_provider.os")
|
||||
def test_router_init_with_neither_api_key_nor_azure_service_principal_with_secret(
|
||||
mocked_os_lib: MagicMock,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue