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

Method test_persistence

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

Source from the content-addressed store, hash-verified

4309 assert registry.is_installed("exists")
4310
4311 def test_persistence(self, project_dir):
4312 from specify_cli.workflows.catalog import WorkflowRegistry
4313
4314 registry1 = WorkflowRegistry(project_dir)
4315 registry1.add("test-wf", {"name": "Test"})
4316
4317 # Load fresh
4318 registry2 = WorkflowRegistry(project_dir)
4319 assert registry2.is_installed("test-wf")
4320
4321
4322# ===== Workflow Catalog Tests =====

Callers

nothing calls this directly

Calls 3

addMethod · 0.95
is_installedMethod · 0.95
WorkflowRegistryClass · 0.90

Tested by

no test coverage detected