litellm/tests/test_litellm/llms/azure
devin-ai-integration[bot] 38f0eb876b
test(realtime): drop legacy InvalidStatusCode tests and pin websockets imports (#42624)
The two redaction tests raised the deprecated InvalidStatusCode, which the
websockets 15 asyncio client never raises, and asserted the raw 403 close
code that the handshake refusal path replaced with 1008. The refusal path
builds its close reason from the status code alone, so there is no secret
to redact there, and the handshake refusal tests already cover the error
event and the 1008 close.

Those refusal tests only passed when run after a sibling test had imported
websockets.asyncio.client, since websockets lazy-loads its exceptions
submodule. Importing InvalidStatus, Response, and Headers from their own
submodules makes them pass in any order.

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-09-22 17:42:12 -07:00
..
batches test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
chat Merge remote-tracking branch 'origin/main' into litellm_pr41781_azure_tool_choice 2026-09-19 14:15:19 -07:00
realtime test(realtime): drop legacy InvalidStatusCode tests and pin websockets imports (#42624) 2026-09-22 17:42:12 -07:00
vector_stores test(unit): migrate wave 1 phase 3 anthropic, apiserpent, azure and azure_ai legacy tests 2026-09-20 08:19:05 +00:00
videos test(lint): ban blind pytest.raises(Exception) with ruff B017 (#37731) 2026-08-20 18:09:42 -07:00
test_audio_transcriptions.py test: delete assertions that pin vendor cost map facts 2026-09-18 00:28:49 +00:00
test_azure.py Merge branch 'main' into devin_ai_fix_azure_cancellederror_35329 2026-09-21 11:01:06 -07:00
test_azure_common_utils.py test: skip avideo_generation in azure sdk client exhaustive check 2026-09-21 22:47:14 +00:00
test_azure_cost_calculation.py fix(cost): pass service_tier through azure and azure_ai cost calculation (#24926) 2026-05-01 17:26:45 +05:30
test_azure_embedding.py test: run the 30 test files stranded in the second mirror (#37595) 2026-08-20 10:59:43 -07:00
test_azure_exception_mapping.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_azure_fine_tuning_api.py refactor: refactor testing 2026-03-28 18:39:32 -07:00
test_azure_speech_audio_transcription.py test: keep the pinning-test removal free of unrelated reformatting 2026-09-18 04:27:28 +00:00