(self)
| 1917 | assert ok == [], ok |
| 1918 | |
| 1919 | def test_execute_empty_steps(self): |
| 1920 | from specify_cli.workflows.steps.do_while import DoWhileStep |
| 1921 | from specify_cli.workflows.base import StepContext |
| 1922 | |
| 1923 | step = DoWhileStep() |
| 1924 | ctx = StepContext() |
| 1925 | config = { |
| 1926 | "id": "empty", |
| 1927 | "condition": "{{ false }}", |
| 1928 | "max_iterations": 1, |
| 1929 | "steps": [], |
| 1930 | } |
| 1931 | result = step.execute(config, ctx) |
| 1932 | assert result.next_steps == [] |
| 1933 | assert result.status.value == "completed" |
| 1934 | |
| 1935 | def test_validate_missing_fields(self): |
| 1936 | from specify_cli.workflows.steps.do_while import DoWhileStep |
nothing calls this directly
no test coverage detected