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

Method test_validate_accepts_valid

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

Source from the content-addressed store, hash-verified

1437 assert any("'script' must be 'sh' or 'ps'" in e for e in errors)
1438
1439 def test_validate_accepts_valid(self):
1440 from specify_cli.workflows.steps.init import InitStep
1441
1442 step = InitStep()
1443 assert step.validate({"id": "bootstrap", "script": "sh"}) == []
1444
1445
1446class TestGateStep:

Callers

nothing calls this directly

Calls 2

validateMethod · 0.95
InitStepClass · 0.90

Tested by

no test coverage detected