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

Method test_list

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

Source from the content-addressed store, hash-verified

4289 assert not registry.is_installed("test-wf")
4290
4291 def test_list(self, project_dir):
4292 from specify_cli.workflows.catalog import WorkflowRegistry
4293
4294 registry = WorkflowRegistry(project_dir)
4295 registry.add("wf-a", {"name": "A"})
4296 registry.add("wf-b", {"name": "B"})
4297
4298 installed = registry.list()
4299 assert "wf-a" in installed
4300 assert "wf-b" in installed
4301
4302 def test_is_installed(self, project_dir):
4303 from specify_cli.workflows.catalog import WorkflowRegistry

Callers

nothing calls this directly

Calls 3

addMethod · 0.95
listMethod · 0.95
WorkflowRegistryClass · 0.90

Tested by

no test coverage detected