test(router): document credential lookup seam

This commit is contained in:
Yujong Lee 2026-08-30 19:22:47 -07:00 committed by GitHub
parent 952191bd58
commit 91e09ef092
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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