MCPcopy Index your code
hub / github.com/github/spec-kit / test_execute_echo

Method test_execute_echo

tests/test_workflows.py:1155–1165  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1153 return f'"{sys.executable}" "{script}"'
1154
1155 def test_execute_echo(self):
1156 from specify_cli.workflows.steps.shell import ShellStep
1157 from specify_cli.workflows.base import StepContext, StepStatus
1158
1159 step = ShellStep()
1160 ctx = StepContext()
1161 config = {"id": "test", "run": "echo hello"}
1162 result = step.execute(config, ctx)
1163 assert result.status == StepStatus.COMPLETED
1164 assert result.output["exit_code"] == 0
1165 assert "hello" in result.output["stdout"]
1166
1167 def test_execute_failure(self):
1168 from specify_cli.workflows.steps.shell import ShellStep

Callers

nothing calls this directly

Calls 3

executeMethod · 0.95
ShellStepClass · 0.90
StepContextClass · 0.90

Tested by

no test coverage detected