diff create_account.xml @ 10:a46a509386d3 draft

"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit 08015be1ee8a784e0619f961aaa724857debfd6f"
author gga
date Mon, 02 Dec 2019 05:50:13 -0500
parents 0c3a940da13d
children
line wrap: on
line diff
--- a/create_account.xml	Mon Jul 29 10:10:43 2019 -0400
+++ b/create_account.xml	Mon Dec 02 05:50:13 2019 -0500
@@ -6,14 +6,14 @@
   </macros>
   <expand macro="requirements"/>
   <command detect_errors="aggressive"><![CDATA[
-python $__tool_directory__/create_account.py
+@AUTH@
 
-@ADMIN_AUTH@
+python '$__tool_directory__/create_account.py'
 
-$__user_email__
+'$__user_email__'
 
---first "$first"
---last "$last"
+--first '$first'
+--last '$last'
 > $output]]></command>
   <inputs>
     <param name="first" type="text" label="First Name" />
@@ -23,11 +23,18 @@
     <data format="txt" name="output" label="Apollo Credentials"/>
   </outputs>
   <tests>
-      <test expect_failure="true">
+      <test>
           <param name="first" value="first" />
           <param name="last" value="last" />
-
-          <expand macro="test_result" />
+          <output name="output">
+              <assert_contents>
+                  <has_text text="Updated User" />
+                  <has_text text="Password:" />
+                  <has_text text="Return data:" />
+                  <has_text text="alt_org" />
+                  <has_text text="test_organism" />
+              </assert_contents>
+          </output>
       </test>
   </tests>
   <help><![CDATA[