mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
test(azure): type OCR polling auth cases
This commit is contained in:
parent
3cd796e9c6
commit
40a01e5d69
1 changed files with 3 additions and 1 deletions
|
|
@ -386,7 +386,9 @@ def test_validate_environment_falls_back_to_entra_token(monkeypatch):
|
|||
),
|
||||
),
|
||||
)
|
||||
def test_get_polling_target_preserves_request_authentication(request_headers, expected_poll_headers):
|
||||
def test_get_polling_target_preserves_request_authentication(
|
||||
request_headers: dict[str, str], expected_poll_headers: dict[str, str]
|
||||
):
|
||||
response = httpx.Response(
|
||||
status_code=202,
|
||||
headers={"Operation-Location": "https://example.cognitiveservices.azure.com/operations/123"},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue