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

Method test_comparison_not_equals

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

Source from the content-addressed store, hash-verified

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
273 from specify_cli.workflows.base import StepContext
274
275 ctx = StepContext(
276 steps={"run-tests": {"output": {"exit_code": 1}}}
277 )
278 result = evaluate_expression("{{ steps.run-tests.output.exit_code != 0 }}", ctx)
279 assert result is True
280
281 def test_numeric_comparison(self):
282 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