mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
test_get_credentials_from_env
This commit is contained in:
parent
431782c3fe
commit
bae3dcde13
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ class TestPassthroughEndpointRouter(unittest.TestCase):
|
|||
mock_get_secret.return_value = "env_azure_key"
|
||||
result = self.router.get_credentials("azure", None)
|
||||
self.assertEqual(result, "env_azure_key")
|
||||
mock_get_secret.assert_called_once_with("AZURE_AI_API_KEY")
|
||||
mock_get_secret.assert_called_once_with("AZURE_API_KEY")
|
||||
|
||||
def test_default_env_variable_method(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue