(self, sample_workflow_yaml)
| 2468 | """Test workflow validation.""" |
| 2469 | |
| 2470 | def test_valid_workflow(self, sample_workflow_yaml): |
| 2471 | from specify_cli.workflows.engine import WorkflowDefinition, validate_workflow |
| 2472 | |
| 2473 | definition = WorkflowDefinition.from_string(sample_workflow_yaml) |
| 2474 | errors = validate_workflow(definition) |
| 2475 | assert errors == [] |
| 2476 | |
| 2477 | def test_missing_id(self): |
| 2478 | from specify_cli.workflows.engine import WorkflowDefinition, validate_workflow |
nothing calls this directly
no test coverage detected