mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
running the job is a mule. Added a test tool that will write Galaxy app.config attributes to the output dataset.
26 lines
739 B
XML
26 lines
739 B
XML
<tool id="config_vars" name="config_vars" version="1.0.0">
|
|
<command>
|
|
#if str($var) != "__test_key":
|
|
echo "#echo getattr($__app__.config, str($var))#" > $out_file1
|
|
#else:
|
|
echo "__test_value" > $out_file1
|
|
#end if
|
|
</command>
|
|
<inputs>
|
|
<param name="var" value="__test_key" type="text" />
|
|
</inputs>
|
|
<outputs>
|
|
<data name="out_file1" format="txt" />
|
|
</outputs>
|
|
<tests>
|
|
<test>
|
|
<param name="var" value="__test_key" />
|
|
<output name="out_file1">
|
|
<assert_contents>
|
|
<has_line line="__test_value" />
|
|
</assert_contents>
|
|
</output>
|
|
</test>
|
|
</tests>
|
|
</tool>
|