(self)
| 519 | evaluate_expression("{{ inputs.tags | map }}", ctx) |
| 520 | |
| 521 | def test_condition_evaluation(self): |
| 522 | from specify_cli.workflows.expressions import evaluate_condition |
| 523 | from specify_cli.workflows.base import StepContext |
| 524 | |
| 525 | ctx = StepContext(inputs={"ready": True}) |
| 526 | assert evaluate_condition("{{ inputs.ready }}", ctx) is True |
| 527 | assert evaluate_condition("{{ inputs.missing }}", ctx) is False |
| 528 | |
| 529 | def test_non_string_passthrough(self): |
| 530 | from specify_cli.workflows.expressions import evaluate_expression |
nothing calls this directly
no test coverage detected