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

Method test_skip_missing_init_py

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

Source from the content-addressed store, hash-verified

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
5104
5105 step_dir = project_dir / ".specify" / "workflows" / "steps" / "bad-step2"
5106 step_dir.mkdir(parents=True)
5107 (step_dir / "step.yml").write_text(
5108 "step:\n type_key: bad-step2\n", encoding="utf-8"
5109 )
5110
5111 loaded = load_custom_steps(project_dir)
5112 assert "bad-step2" not in loaded
5113
5114 @pytest.mark.skipif(not hasattr(os, "symlink"), reason="symlinks are unavailable")
5115 def test_skip_symlinked_step_files(self, project_dir):

Callers

nothing calls this directly

Calls 1

load_custom_stepsFunction · 0.90

Tested by

no test coverage detected