Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

test(events): complete workflow-call mock fixture

JPPhoto4b40a0919b82
diff --git a/tests/test_graph_execution_state.py b/tests/test_graph_execution_state.py
index 52959cf885..d341049931 100644
--- a/tests/test_graph_execution_state.py
+++ b/tests/test_graph_execution_state.py
@@ -2551,8 +2551,10 @@ def test_invocation_event_service_uses_compact_control_node_representation():
origin="workflows",
destination=None,
user_id="system",
+ parent_item_id=None,
+ root_item_id=None,
session_id="session",
- session=Mock(prepared_source_mapping={iterator.id: "source"}),
+ session=Mock(prepared_source_mapping={iterator.id: "source"}, workflow_call_stack=[]),
)
events = TestEventService()