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