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

Method test_comparison_equals

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

Source from the content-addressed store, hash-verified

261 assert evaluate_expression("{{ inputs.text | contains('}}') }}", ctx) is True
262
263 def test_comparison_equals(self):
264 from specify_cli.workflows.expressions import evaluate_expression
265 from specify_cli.workflows.base import StepContext
266
267 ctx = StepContext(inputs={"scope": "full"})
268 assert evaluate_expression("{{ inputs.scope == 'full' }}", ctx) is True
269 assert evaluate_expression("{{ inputs.scope == 'partial' }}", ctx) is False
270
271 def test_comparison_not_equals(self):
272 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