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

Method test_list

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

Source from the content-addressed store, hash-verified

4649 assert removed is False
4650
4651 def test_list(self, project_dir):
4652 from specify_cli.workflows.catalog import StepRegistry
4653
4654 registry = StepRegistry(project_dir)
4655 registry.add("step-a", {"name": "A", "type_key": "step-a"})
4656 registry.add("step-b", {"name": "B", "type_key": "step-b"})
4657
4658 installed = registry.list()
4659 assert "step-a" in installed
4660 assert "step-b" in installed
4661
4662 def test_is_installed(self, project_dir):
4663 from specify_cli.workflows.catalog import StepRegistry

Callers

nothing calls this directly

Calls 3

addMethod · 0.95
listMethod · 0.95
StepRegistryClass · 0.90

Tested by

no test coverage detected