From 40a01e5d69e9cab36a673648f598c21d58b86afe Mon Sep 17 00:00:00 2001 From: Yujong Lee Date: Wed, 9 Sep 2026 11:30:09 -0700 Subject: [PATCH] test(azure): type OCR polling auth cases --- .../test_azure_document_intelligence_ocr_transformation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_litellm/llms/azure_ai/test_azure_document_intelligence_ocr_transformation.py b/tests/test_litellm/llms/azure_ai/test_azure_document_intelligence_ocr_transformation.py index e33f48f1bae..f5b24e47977 100644 --- a/tests/test_litellm/llms/azure_ai/test_azure_document_intelligence_ocr_transformation.py +++ b/tests/test_litellm/llms/azure_ai/test_azure_document_intelligence_ocr_transformation.py @@ -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"},