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

Method test_validate_missing_fields

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

Source from the content-addressed store, hash-verified

2009 assert result.output["item_count"] == 0
2010
2011 def test_validate_missing_fields(self):
2012 from specify_cli.workflows.steps.fan_out import FanOutStep
2013
2014 step = FanOutStep()
2015 errors = step.validate({"id": "test"})
2016 assert any("missing 'items'" in e for e in errors)
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

Callers

nothing calls this directly

Calls 2

validateMethod · 0.95
FanOutStepClass · 0.90

Tested by

no test coverage detected