Files
galaxy/test/functional/tools/config_vars.xml
T
Nate Coraor 3f0082515a Improvements for mule job handler testing. Ensure that the server
running the job is a mule. Added a test tool that will write Galaxy
app.config attributes to the output dataset.
2017-08-31 14:30:46 -04:00

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>