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.
This commit is contained in:
John Chilton
2014-12-27 23:46:22 -05:00
parent f515257ed8
commit 6b6c3ac498
+2
View File
@@ -430,6 +430,8 @@ class ShedTwillTestCase( TwillTestCase ):
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=[] ):