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

Method test_skip_missing_step_yml

tests/test_workflows.py:5092–5100  ·  view source on GitHub ↗
(self, project_dir)

Source from the content-addressed store, hash-verified

5090 assert "test-custom" in STEP_REGISTRY
5091
5092 def test_skip_missing_step_yml(self, project_dir):
5093 from specify_cli.workflows import load_custom_steps
5094
5095 step_dir = project_dir / ".specify" / "workflows" / "steps" / "bad-step"
5096 step_dir.mkdir(parents=True)
5097 (step_dir / "__init__.py").write_text("# no step.yml", encoding="utf-8")
5098
5099 loaded = load_custom_steps(project_dir)
5100 assert "bad-step" not in loaded
5101
5102 def test_skip_missing_init_py(self, project_dir):
5103 from specify_cli.workflows import load_custom_steps

Callers

nothing calls this directly

Calls 1

load_custom_stepsFunction · 0.90

Tested by

no test coverage detected