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

Method test_inputs_parsed

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

Source from the content-addressed store, hash-verified

2454 WorkflowDefinition.from_string("- just a list")
2455
2456 def test_inputs_parsed(self, sample_workflow_yaml):
2457 from specify_cli.workflows.engine import WorkflowDefinition
2458
2459 definition = WorkflowDefinition.from_string(sample_workflow_yaml)
2460 assert "spec" in definition.inputs
2461 assert definition.inputs["spec"]["required"] is True
2462 assert definition.inputs["scope"]["default"] == "full"
2463
2464
2465# ===== Workflow Validation Tests =====

Callers

nothing calls this directly

Calls 1

from_stringMethod · 0.80

Tested by

no test coverage detected