1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/0fee9a84cec6/ Changeset: 0fee9a84cec6 User: jmchilton Date: 2014-04-29 20:53:06 Summary: More refactoring of tools API test case. Affected #: 1 file diff -r 43cf1476a77405f9890a6b97fe9993c2936650a5 -r 0fee9a84cec6dd78774f30bd60ab7d41d2efc619 test/functional/api/test_tools.py --- a/test/functional/api/test_tools.py +++ b/test/functional/api/test_tools.py @@ -82,15 +82,23 @@ self.assertEqual( output1_content.strip(), "Cat1Test\nCat2Test" ) def _cat1_outputs( self, history_id, inputs ): - create_response = self._run_cat1( history_id, inputs ) + return self._run_outputs( self._run_cat1( history_id, inputs ) ) + + def _run_and_get_outputs( self, tool_id, history_id, inputs ): + return self._run_outputs( self._run( tool_id, history_id, inputs ) ) + + def _run_outputs( self, create_response ): self._assert_status_code_is( create_response, 200 ) create = create_response.json() self._assert_has_keys( create, 'outputs' ) return create[ 'outputs' ] def _run_cat1( self, history_id, inputs ): + return self._run( 'cat1', history_id, inputs ) + + def _run( self, tool_id, history_id, inputs ): payload = self.dataset_populator.run_tool_payload( - tool_id='cat1', + tool_id=tool_id, inputs=inputs, history_id=history_id, ) 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.