(self)
| 2072 | assert result.output["results"][1]["file"] == "b.md" |
| 2073 | |
| 2074 | def test_execute_missing_wait_for_step(self): |
| 2075 | from specify_cli.workflows.steps.fan_in import FanInStep |
| 2076 | from specify_cli.workflows.base import StepContext |
| 2077 | |
| 2078 | step = FanInStep() |
| 2079 | ctx = StepContext(steps={}) |
| 2080 | config = { |
| 2081 | "id": "collect", |
| 2082 | "wait_for": ["nonexistent"], |
| 2083 | "output": {}, |
| 2084 | } |
| 2085 | result = step.execute(config, ctx) |
| 2086 | assert result.output["results"] == [{}] |
| 2087 | |
| 2088 | def test_validate_empty_wait_for(self): |
| 2089 | from specify_cli.workflows.steps.fan_in import FanInStep |
nothing calls this directly
no test coverage detected