Files
galaxy/test/functional/tools/model_attributes.xml
T
John Chilton 853d7e978d API test case to ensure dataset names get escaped during tool evaluation.
I think other sanitization properties aren't testing that model properties are escaped.
2021-08-18 13:41:06 -04:00

16 lines
546 B
XML

<tool id="model_attributes" name="model_attributes" version="0.1.0">
<command><![CDATA[
echo '$input1.name' > "$out_file1";
echo '$__user__.email' > "$out_file2";
echo '$__user__.addresses[0].desc' > "$out_file3";
]]></command>
<inputs>
<param name="input1" type="data" label="Dataset with a name to output"/>
</inputs>
<outputs>
<data name="out_file1" format="txt" />
<data name="out_file2" format="txt" />
<data name="out_file3" format="txt" />
</outputs>
</tool>