MCPcopy Create free account
hub / github.com/StackStorm/st2 / test_sequential

Method test_sequential

st2tests/integration/orquesta/test_wiring.py:26–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24
25class WiringTest(base.TestWorkflowExecution):
26 def test_sequential(self):
27 wf_name = "examples.orquesta-sequential"
28 wf_input = {"name": "Thanos"}
29
30 expected_output = {"greeting": "Thanos, All your base are belong to us!"}
31 expected_result = {"output": expected_output}
32
33 ex = self._execute_workflow(wf_name, wf_input)
34 ex = self._wait_for_completion(ex)
35
36 self.assertEqual(ex.status, ac_const.LIVEACTION_STATUS_SUCCEEDED)
37 self.assertDictEqual(ex.result, expected_result)
38
39 def test_join(self):
40 wf_name = "examples.orquesta-join"

Callers

nothing calls this directly

Calls 2

_wait_for_completionMethod · 0.80
_execute_workflowMethod · 0.45

Tested by

no test coverage detected