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

Method test_simple_variable

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

Source from the content-addressed store, hash-verified

203 """Test sandboxed expression evaluator."""
204
205 def test_simple_variable(self):
206 from specify_cli.workflows.expressions import evaluate_expression
207 from specify_cli.workflows.base import StepContext
208
209 ctx = StepContext(inputs={"name": "login"})
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

Callers

nothing calls this directly

Calls 2

StepContextClass · 0.90
evaluate_expressionFunction · 0.90

Tested by

no test coverage detected