MCPcopy Index your code
hub / github.com/simstudioai/sim / test_workflow_execution_result

Function test_workflow_execution_result

packages/python-sdk/tests/test_client.py:65–74  ·  view source on GitHub ↗

Test WorkflowExecutionResult data class.

()

Source from the content-addressed store, hash-verified

63
64
65def test_workflow_execution_result():
66 """Test WorkflowExecutionResult data class."""
67 result = WorkflowExecutionResult(
68 success=True,
69 output={"data": "test"},
70 metadata={"duration": 1000}
71 )
72 assert result.success is True
73 assert result.output == {"data": "test"}
74 assert result.metadata == {"duration": 1000}
75
76
77def test_workflow_status():

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected