(self, project_dir)
| 4604 | """Test StepRegistry operations for custom step types.""" |
| 4605 | |
| 4606 | def test_add_and_get(self, project_dir): |
| 4607 | from specify_cli.workflows.catalog import StepRegistry |
| 4608 | |
| 4609 | registry = StepRegistry(project_dir) |
| 4610 | registry.add("deploy", {"name": "Deploy", "version": "1.0.0", "type_key": "deploy"}) |
| 4611 | |
| 4612 | entry = registry.get("deploy") |
| 4613 | assert entry is not None |
| 4614 | assert entry["name"] == "Deploy" |
| 4615 | assert "installed_at" in entry |
| 4616 | |
| 4617 | def test_add_does_not_mutate_input_metadata(self, project_dir): |
| 4618 | from specify_cli.workflows.catalog import StepRegistry |
nothing calls this directly
no test coverage detected