mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
test(proxy): clear leaked auth dependency override before Azure Speech real-auth tests
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
a0425a1f99
commit
6e56ba86c5
1 changed files with 1 additions and 0 deletions
|
|
@ -6423,6 +6423,7 @@ class TestAzureSpeechRawBodyThroughRealAuth:
|
|||
) -> httpx.Response:
|
||||
from litellm.proxy.proxy_server import app
|
||||
|
||||
monkeypatch.delitem(app.dependency_overrides, user_api_key_auth, raising=False)
|
||||
monkeypatch.setenv("AZURE_SPEECH_API_KEY", "server-subscription-key")
|
||||
monkeypatch.setenv("AZURE_SPEECH_REGION", "eastus")
|
||||
monkeypatch.delenv("AZURE_SPEECH_API_BASE", raising=False)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue