Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
test(graph-engine-test): modify the assert condition (#19041)
Novicee36b1a7016f6
diff --git a/api/tests/unit_tests/core/workflow/graph_engine/test_graph_engine.py b/api/tests/unit_tests/core/workflow/graph_engine/test_graph_engine.pyindex 2a29ad3e419..f3dbd1836b3 100644--- a/api/tests/unit_tests/core/workflow/graph_engine/test_graph_engine.py+++ b/api/tests/unit_tests/core/workflow/graph_engine/test_graph_engine.py@@ -864,10 +864,11 @@ def test_condition_parallel_correct_output(mock_close, mock_remove, app):with patch.object(CodeNode, "_run", new=code_generator):generator = graph_engine.run()stream_content = ""- res_content = "VAT:\ndify 123"+ wrong_content = ["Stamp Duty", "other"]for item in generator:if isinstance(item, NodeRunStreamChunkEvent):stream_content += f"{item.chunk_content}\n"if isinstance(item, GraphRunSucceededEvent):- assert item.outputs == {"answer": res_content}- assert stream_content == res_content + "\n"+ assert item.outputs is not None+ answer = item.outputs["answer"]+ assert all(rc not in answer for rc in wrong_content)