MCPcopy Index your code
hub / github.com/StackStorm/st2 / test_workflow

Method test_workflow

st2client/tests/unit/test_shell.py:411–417  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

409 self._validate_parser(args_list)
410
411 def test_workflow(self):
412 args_list = [
413 ["workflow", "inspect", "--file", "/path/to/workflow/definition"],
414 ["workflow", "inspect", "--action", "mock.foobar"],
415 ]
416
417 self._validate_parser(args_list)
418
419 @mock.patch("sys.exit", mock.Mock())
420 @mock.patch("st2client.shell.__version__", "v2.8.0")

Callers

nothing calls this directly

Calls 1

_validate_parserMethod · 0.95

Tested by

no test coverage detected