mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
9 lines
239 B
Python
9 lines
239 B
Python
from galaxy.tools.expressions import evaluate
|
|
from galaxy.util.unittest_utils import skip_unless_executable
|
|
|
|
|
|
@skip_unless_executable("node")
|
|
def test_evaluate():
|
|
input = {"script": "{return 5;}"}
|
|
assert evaluate(None, input) == 5
|