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

Method test_validate_missing_fields

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

Source from the content-addressed store, hash-verified

1843 assert result.next_steps == []
1844
1845 def test_validate_missing_fields(self):
1846 from specify_cli.workflows.steps.while_loop import WhileStep
1847
1848 step = WhileStep()
1849 errors = step.validate({"id": "test", "steps": []})
1850 assert any("missing 'condition'" in e for e in errors)
1851 # max_iterations is optional (defaults to 10)
1852
1853 def test_validate_invalid_max_iterations(self):
1854 from specify_cli.workflows.steps.while_loop import WhileStep

Callers

nothing calls this directly

Calls 2

validateMethod · 0.95
WhileStepClass · 0.90

Tested by

no test coverage detected