(self)
| 289 | assert evaluate_expression("{{ steps.plan.output.task_count < 5 }}", ctx) is False |
| 290 | |
| 291 | def test_boolean_and(self): |
| 292 | from specify_cli.workflows.expressions import evaluate_expression |
| 293 | from specify_cli.workflows.base import StepContext |
| 294 | |
| 295 | ctx = StepContext(inputs={"a": True, "b": True}) |
| 296 | assert evaluate_expression("{{ inputs.a and inputs.b }}", ctx) is True |
| 297 | |
| 298 | def test_boolean_or(self): |
| 299 | from specify_cli.workflows.expressions import evaluate_expression |
nothing calls this directly
no test coverage detected