(self, sample_workflow_yaml)
| 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 ===== |
nothing calls this directly
no test coverage detected