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

Method test_from_string_invalid

tests/test_workflows.py:2450–2454  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2448 assert len(definition.inputs) == 2
2449
2450 def test_from_string_invalid(self):
2451 from specify_cli.workflows.engine import WorkflowDefinition
2452
2453 with pytest.raises(ValueError, match="must be a mapping"):
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

Callers

nothing calls this directly

Calls 1

from_stringMethod · 0.80

Tested by

no test coverage detected