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

Method test_validate_rejects_bad_script

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

Source from the content-addressed store, hash-verified

1430 assert result.output["integration_options"] == "--skills"
1431
1432 def test_validate_rejects_bad_script(self):
1433 from specify_cli.workflows.steps.init import InitStep
1434
1435 step = InitStep()
1436 errors = step.validate({"id": "bootstrap", "script": "bogus"})
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

Callers

nothing calls this directly

Calls 2

validateMethod · 0.95
InitStepClass · 0.90

Tested by

no test coverage detected