commit/galaxy-central: jmchilton: Fix remaining tool shed test cases for new escaped values.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/97f46da40bb3/ Changeset: 97f46da40bb3 User: jmchilton Date: 2014-12-28 04:46:22+00:00 Summary: Fix remaining tool shed test cases for new escaped values. I think in this case the values on the page are correct now - but the test framework needs to be updated to handle the escaped value. Affected #: 1 file diff -r 461a6a9379001959b5b3259f90a2b9471ce391ed -r 97f46da40bb3767c6cf0d440b1d2d58e06edf5e6 test/tool_shed/base/twilltestcase.py --- a/test/tool_shed/base/twilltestcase.py +++ b/test/tool_shed/base/twilltestcase.py @@ -430,6 +430,8 @@ url = '/admin_toolshed/manage_repository?id=%s' % self.security.encode_id( installed_repository.id ) self.visit_galaxy_url( url ) strings_displayed.append( str( installed_repository.installed_changeset_revision ) ) + # Every place Galaxy's XXXX tool appears in attribute - need to quote. + strings_displayed = map( lambda x: x.replace("'", "'"), strings_displayed ) self.check_for_strings( strings_displayed, strings_not_displayed ) def display_installed_workflow_image( self, repository, workflow_name, strings_displayed=[], strings_not_displayed=[] ): 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