commit/galaxy-central: jmchilton: Tool API test submitting multiple select checkboxes as a list of values.

1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/09aa10faa300/ Changeset: 09aa10faa300 User: jmchilton Date: 2014-09-25 00:08:03+00:00 Summary: Tool API test submitting multiple select checkboxes as a list of values. Run with: ./run_tests.sh -with_framework_test_tools -api test/api/test_tools.py:ToolsTestCase.test_multi_select_as_list Affected #: 1 file diff -r 85c30938943db094cd54c3848b8402efb0ffd590 -r 09aa10faa300c54071abff167f301dade9b76b95 test/api/test_tools.py --- a/test/api/test_tools.py +++ b/test/api/test_tools.py @@ -95,6 +95,17 @@ result_content = self._upload_and_get_content( table ) self.assertEquals( result_content, table ) + @skip_without_tool( "multi_select" ) + def test_multi_select_as_list( self ): + history_id = self.dataset_populator.new_history() + inputs = { + "select_ex": ["--ex1", "ex2"], + } + response = self._run( "multi_select", history_id, inputs, assert_ok=True ) + output = response[ "outputs" ][ 0 ] + output1_content = self.dataset_populator.get_history_dataset_content( history_id, dataset=output ) + assert output1_content == "--ex1,ex2" + @skip_without_tool( "cat1" ) def test_run_cat1( self ): # Run simple non-upload tool with an input data parameter. Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org