(self)
| 1933 | assert result.status.value == "completed" |
| 1934 | |
| 1935 | def test_validate_missing_fields(self): |
| 1936 | from specify_cli.workflows.steps.do_while import DoWhileStep |
| 1937 | |
| 1938 | step = DoWhileStep() |
| 1939 | errors = step.validate({"id": "test", "steps": []}) |
| 1940 | assert any("missing 'condition'" in e for e in errors) |
| 1941 | # max_iterations is optional (defaults to 10) |
| 1942 | |
| 1943 | def test_validate_steps_not_list(self): |
| 1944 | from specify_cli.workflows.steps.do_while import DoWhileStep |
nothing calls this directly
no test coverage detected