litellm/tests/test_litellm/responses
Julio Quinteros Pro c3346962a9 fix: replace silent if-hasattr guards with unconditional assertions in MCP streaming tests
The `if hasattr(...)` guards in test_acompletion_with_mcp_adds_metadata_to_streaming
and test_acompletion_with_mcp_streaming_metadata_in_correct_chunks could silently skip
the provider_specific_fields assertions if chunks lacked choices/delta. Replace with
unconditional `assert hasattr(...)` so failures surface immediately.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-17 21:42:31 -03:00
..
litellm_completion_transformation Merge pull request #20783 from BerriAI/litellm_oss_staging_02_09_2026 2026-02-10 18:02:14 +05:30
mcp fix: replace silent if-hasattr guards with unconditional assertions in MCP streaming tests 2026-02-17 21:42:31 -03:00
test_no_duplicate_spend_logs.py test_async_no_duplicate_spend_logs 2025-12-06 16:14:56 -08:00
test_null_test_fix.py Fix: Responses content can't be none 2026-01-14 12:13:18 +05:30
test_responses_api_request_body.py [Feat] Adds support for server-side compaction on the OpenAI Responses API context_management (#21058) 2026-02-12 10:00:30 -08:00
test_responses_utils.py fix(vertex_ai): forward extra_body to completion transformation handler (#20950) 2026-02-13 18:25:32 +05:30
test_text_format_conversion.py Fix: test_text_format_to_text_conversion - properly mock handler to avoid API calls 2026-01-08 16:37:12 +05:30