mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Based on work by Peter Amstutz in cwltool (https://github.com/common-workflow-language/cwltool).
9 lines
159 B
Python
9 lines
159 B
Python
from galaxy.tools.expressions import evaluate
|
|
|
|
|
|
def test_evaluate():
|
|
input = {
|
|
"script": "{return 5;}"
|
|
}
|
|
assert evaluate(None, input) == 5
|