MCPcopy Index your code
hub / github.com/github/spec-kit / test_validate_step_not_mapping

Method test_validate_step_not_mapping

tests/test_workflows.py:2019–2028  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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
2031class TestFanInStep:

Callers

nothing calls this directly

Calls 2

validateMethod · 0.95
FanOutStepClass · 0.90

Tested by

no test coverage detected