MCPcopy
hub / github.com/github/spec-kit / test_step_output_reference

Method test_step_output_reference

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

Source from the content-addressed store, hash-verified

210 assert evaluate_expression("{{ inputs.name }}", ctx) == "login"
211
212 def test_step_output_reference(self):
213 from specify_cli.workflows.expressions import evaluate_expression
214 from specify_cli.workflows.base import StepContext
215
216 ctx = StepContext(
217 steps={"specify": {"output": {"file": "spec.md"}}}
218 )
219 assert evaluate_expression("{{ steps.specify.output.file }}", ctx) == "spec.md"
220
221 def test_string_interpolation(self):
222 from specify_cli.workflows.expressions import evaluate_expression

Callers

nothing calls this directly

Calls 2

StepContextClass · 0.90
evaluate_expressionFunction · 0.90

Tested by

no test coverage detected