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

Method test_valid_workflow

tests/test_workflows.py:2470–2475  ·  view source on GitHub ↗
(self, sample_workflow_yaml)

Source from the content-addressed store, hash-verified

2468 """Test workflow validation."""
2469
2470 def test_valid_workflow(self, sample_workflow_yaml):
2471 from specify_cli.workflows.engine import WorkflowDefinition, validate_workflow
2472
2473 definition = WorkflowDefinition.from_string(sample_workflow_yaml)
2474 errors = validate_workflow(definition)
2475 assert errors == []
2476
2477 def test_missing_id(self):
2478 from specify_cli.workflows.engine import WorkflowDefinition, validate_workflow

Callers

nothing calls this directly

Calls 2

validate_workflowFunction · 0.90
from_stringMethod · 0.80

Tested by

no test coverage detected