File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2477,6 +2477,7 @@ def test_find_newly_ready_nodes_only_evaluates_outbound_edges():
24772477 ready_ids = {n .node_id for n in ready }
24782478 assert ready_ids == {"E" }, f"Expected only E, got { ready_ids } "
24792479
2480+
24802481@pytest .mark .asyncio
24812482async def test_reset_executor_state_preserves_graph_state_for_nested_graph ():
24822483 """Verify reset_executor_state does not corrupt MultiAgentBase state.
@@ -2504,8 +2505,6 @@ async def test_reset_executor_state_preserves_graph_state_for_nested_graph():
25042505 node .reset_executor_state ()
25052506
25062507 # After reset, the executor's state must still be GraphState
2507- assert isinstance (inner_graph .state , GraphState ), (
2508- "reset_executor_state overwrote GraphState with AgentState"
2509- )
2508+ assert isinstance (inner_graph .state , GraphState ), "reset_executor_state overwrote GraphState with AgentState"
25102509 assert node .execution_status == Status .PENDING
25112510 assert node .result is None
You can’t perform that action at this time.
0 commit comments