test(azure): type OCR polling auth cases

This commit is contained in:
Yujong Lee 2026-09-09 11:30:09 -07:00
parent 3cd796e9c6
commit 40a01e5d69

View file

@ -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"},