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

Method test_validate_missing_fields

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

Source from the content-addressed store, hash-verified

1933 assert result.status.value == "completed"
1934
1935 def test_validate_missing_fields(self):
1936 from specify_cli.workflows.steps.do_while import DoWhileStep
1937
1938 step = DoWhileStep()
1939 errors = step.validate({"id": "test", "steps": []})
1940 assert any("missing 'condition'" in e for e in errors)
1941 # max_iterations is optional (defaults to 10)
1942
1943 def test_validate_steps_not_list(self):
1944 from specify_cli.workflows.steps.do_while import DoWhileStep

Callers

nothing calls this directly

Calls 2

validateMethod · 0.95
DoWhileStepClass · 0.90

Tested by

no test coverage detected