MCPcopy
hub / github.com/github/spec-kit / test_execute_missing_wait_for_step

Method test_execute_missing_wait_for_step

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

Source from the content-addressed store, hash-verified

2072 assert result.output["results"][1]["file"] == "b.md"
2073
2074 def test_execute_missing_wait_for_step(self):
2075 from specify_cli.workflows.steps.fan_in import FanInStep
2076 from specify_cli.workflows.base import StepContext
2077
2078 step = FanInStep()
2079 ctx = StepContext(steps={})
2080 config = {
2081 "id": "collect",
2082 "wait_for": ["nonexistent"],
2083 "output": {},
2084 }
2085 result = step.execute(config, ctx)
2086 assert result.output["results"] == [{}]
2087
2088 def test_validate_empty_wait_for(self):
2089 from specify_cli.workflows.steps.fan_in import FanInStep

Callers

nothing calls this directly

Calls 3

executeMethod · 0.95
FanInStepClass · 0.90
StepContextClass · 0.90

Tested by

no test coverage detected