mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
test(router): document credential lookup seam
This commit is contained in:
parent
952191bd58
commit
91e09ef092
1 changed files with 3 additions and 1 deletions
|
|
@ -4552,7 +4552,9 @@ def test_get_deployment_credentials_with_provider_fails_closed_for_missing_named
|
|||
]
|
||||
)
|
||||
|
||||
with patch.object(litellm, "credential_list", []):
|
||||
with patch.object( # test-quality-ok: CredentialAccessor reads the process-global credential list
|
||||
litellm, "credential_list", []
|
||||
):
|
||||
credentials = router.get_deployment_credentials_with_provider(model_id="embedding-model")
|
||||
|
||||
assert credentials is None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue