(self)
| 203 | """Test sandboxed expression evaluator.""" |
| 204 | |
| 205 | def test_simple_variable(self): |
| 206 | from specify_cli.workflows.expressions import evaluate_expression |
| 207 | from specify_cli.workflows.base import StepContext |
| 208 | |
| 209 | ctx = StepContext(inputs={"name": "login"}) |
| 210 | assert evaluate_expression("{{ inputs.name }}", ctx) == "login" |
| 211 | |
| 212 | def test_step_output_reference(self): |
| 213 | from specify_cli.workflows.expressions import evaluate_expression |
nothing calls this directly
no test coverage detected