From 2ed447dc2cf52527dcde2aad986120e6773e0a52 Mon Sep 17 00:00:00 2001 From: milan Date: Fri, 21 Aug 2026 03:31:07 +0000 Subject: [PATCH] test: assert standard logging payload absence on build failure Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/test_litellm/litellm_core_utils/test_litellm_logging.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_litellm/litellm_core_utils/test_litellm_logging.py b/tests/test_litellm/litellm_core_utils/test_litellm_logging.py index 73ffb8bc25f..4fb4836e0e0 100644 --- a/tests/test_litellm/litellm_core_utils/test_litellm_logging.py +++ b/tests/test_litellm/litellm_core_utils/test_litellm_logging.py @@ -5025,6 +5025,7 @@ async def test_streaming_success_callbacks_survive_standard_logging_payload_fail ): await logging_obj.async_success_handler(result=_assembled_stream_result()) + assert logging_obj.model_call_details.get("standard_logging_object") is None releasing.async_log_success_event.assert_awaited_once()