mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Fix Tool Shed test broken with PR #706.
This commit is contained in:
@@ -112,7 +112,7 @@ class TestToolHelpImages( ShedTwillTestCase ):
|
||||
src="admin_toolshed/static/images/<id>/count_modes.png"
|
||||
'''
|
||||
repository = self.test_db_util.get_installed_repository_by_name_owner( repository_name, common.test_user_1_name )
|
||||
image_path = 'src="admin_toolshed/static/images/%s/count_modes.png"' % self.security.encode_id( repository.id )
|
||||
image_path = 'admin_toolshed/static/images/%s/count_modes.png' % self.security.encode_id( repository.id )
|
||||
# The repository uploaded in this test should only define one tool, which should be the tool that contains a link to an image.
|
||||
repository_metadata = repository.metadata
|
||||
tool_id = repository_metadata[ 'tools' ][ 0 ][ 'guid' ]
|
||||
|
||||
Reference in New Issue
Block a user