(self)
| 2017 | assert any("missing 'step'" in e for e in errors) |
| 2018 | |
| 2019 | def test_validate_step_not_mapping(self): |
| 2020 | from specify_cli.workflows.steps.fan_out import FanOutStep |
| 2021 | |
| 2022 | step = FanOutStep() |
| 2023 | errors = step.validate({ |
| 2024 | "id": "test", |
| 2025 | "items": "{{ x }}", |
| 2026 | "step": "not-a-dict", |
| 2027 | }) |
| 2028 | assert any("'step' must be a mapping" in e for e in errors) |
| 2029 | |
| 2030 | |
| 2031 | class TestFanInStep: |
nothing calls this directly
no test coverage detected