From 1d3a41a6f94e467260e48d941aaec1b8f5a23312 Mon Sep 17 00:00:00 2001 From: Joao Moura Date: Tue, 11 Aug 2026 16:35:50 -0700 Subject: [PATCH] test(flow): update the flow_execution_span caller for the resumed argument Adding the resumed marker changed a signature that tests/utilities/test_events.py asserts on exactly, and that assertion was not re-run before pushing. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01ASfWmW3RGy4qAQm6s8U9jH --- lib/crewai/tests/utilities/test_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crewai/tests/utilities/test_events.py b/lib/crewai/tests/utilities/test_events.py index 0699adb600..11a40679ca 100644 --- a/lib/crewai/tests/utilities/test_events.py +++ b/lib/crewai/tests/utilities/test_events.py @@ -506,7 +506,7 @@ def test_flow_emits_start_event(reset_event_listener_singleton): assert event_received.wait(timeout=5), "Timeout waiting for flow started event" mock_telemetry.flow_execution_span.assert_called_once_with( - "TestFlow", ["begin"], "user" + "TestFlow", ["begin"], "user", False ) assert len(received_events) == 1 assert received_events[0].flow_name == "TestFlow"