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

Method test_execute_empty_steps

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

Source from the content-addressed store, hash-verified

1917 assert ok == [], ok
1918
1919 def test_execute_empty_steps(self):
1920 from specify_cli.workflows.steps.do_while import DoWhileStep
1921 from specify_cli.workflows.base import StepContext
1922
1923 step = DoWhileStep()
1924 ctx = StepContext()
1925 config = {
1926 "id": "empty",
1927 "condition": "{{ false }}",
1928 "max_iterations": 1,
1929 "steps": [],
1930 }
1931 result = step.execute(config, ctx)
1932 assert result.next_steps == []
1933 assert result.status.value == "completed"
1934
1935 def test_validate_missing_fields(self):
1936 from specify_cli.workflows.steps.do_while import DoWhileStep

Callers

nothing calls this directly

Calls 3

executeMethod · 0.95
DoWhileStepClass · 0.90
StepContextClass · 0.90

Tested by

no test coverage detected