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

Method test_from_string

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

Source from the content-addressed store, hash-verified

2441 assert len(definition.steps) == 2
2442
2443 def test_from_string(self, sample_workflow_yaml):
2444 from specify_cli.workflows.engine import WorkflowDefinition
2445
2446 definition = WorkflowDefinition.from_string(sample_workflow_yaml)
2447 assert definition.id == "test-workflow"
2448 assert len(definition.inputs) == 2
2449
2450 def test_from_string_invalid(self):
2451 from specify_cli.workflows.engine import WorkflowDefinition

Callers

nothing calls this directly

Calls 1

from_stringMethod · 0.80

Tested by

no test coverage detected