(self, project_dir)
| 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 |
nothing calls this directly
no test coverage detected