MCPcopy
hub / github.com/github/spec-kit / test_persistence

Method test_persistence

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

Source from the content-addressed store, hash-verified

4669 assert registry.is_installed("exists")
4670
4671 def test_persistence(self, project_dir):
4672 from specify_cli.workflows.catalog import StepRegistry
4673
4674 registry1 = StepRegistry(project_dir)
4675 registry1.add("deploy", {"name": "Deploy", "type_key": "deploy"})
4676
4677 registry2 = StepRegistry(project_dir)
4678 assert registry2.is_installed("deploy")
4679
4680 def test_corrupted_registry_resets(self, project_dir):
4681 from specify_cli.workflows.catalog import StepRegistry

Callers

nothing calls this directly

Calls 3

addMethod · 0.95
is_installedMethod · 0.95
StepRegistryClass · 0.90

Tested by

no test coverage detected