@@ -62,7 +62,7 @@ def test_workflow_test_simple_ga(self):
6262
6363 @skip_if_environ ("PLANEMO_SKIP_GALAXY_TESTS" )
6464 def test_workflow_test_distro_tool (self ):
65- """Test testing a simple GA workflow with Galaxy ."""
65+ """Test testing a workflow that uses distro tools ."""
6666 with self ._isolate ():
6767 test_artifact = os .path .join (TEST_DATA_DIR , "wf4-distro-tools.gxwf.yml" )
6868 test_command = [
@@ -82,6 +82,30 @@ def test_workflow_test_distro_tool(self):
8282 # print(o.read())
8383 # raise
8484
85+ @skip_if_environ ("PLANEMO_SKIP_GALAXY_TESTS" )
86+ def test_workflow_test_collection_inputs (self ):
87+ """Test testing a workflow with collection inputs Galaxy."""
88+ with self ._isolate ():
89+ test_artifact = os .path .join (TEST_DATA_DIR , "wf5-collection-input.gxwf.yml" )
90+ cat_list = os .path .join (TEST_DATA_DIR , "cat_list.xml" )
91+ test_command = [
92+ "--verbose" ,
93+ "test"
94+ ]
95+ test_command = self .append_profile_argument_if_needed (test_command )
96+ test_command += [
97+ "--no_dependency_resolution" ,
98+ "--galaxy_branch" , "release_18.01" , # Much better workflow output detection than master for now (pre-release of 18.01)
99+ "--extra_tools" , cat_list ,
100+ test_artifact ,
101+ ]
102+ # try:
103+ self ._check_exit_code (test_command , exit_code = 0 )
104+ # except Exception:
105+ # with open(os.path.join(f, "tool_test_output.json"), "r") as o:
106+ # print(o.read())
107+ # raise
108+
85109 @skip_if_environ ("PLANEMO_SKIP_CWLTOOL_TESTS" )
86110 def test_cwltool_tool_test (self ):
87111 """Test testing a CWL tool with cwltool."""
0 commit comments