(self)
| 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 |
| 300 | from specify_cli.workflows.base import StepContext |
| 301 | |
| 302 | ctx = StepContext(inputs={"a": False, "b": True}) |
| 303 | assert evaluate_expression("{{ inputs.a or inputs.b }}", ctx) is True |
| 304 | |
| 305 | def test_list_literal_preserves_quoted_commas(self): |
| 306 | from specify_cli.workflows.expressions import evaluate_expression |
nothing calls this directly
no test coverage detected