From 2fbb93ba34b6580a32b421ea86b6d4fa21cd2344 Mon Sep 17 00:00:00 2001 From: Greg Von Kuster Date: Wed, 22 Jan 2014 11:48:12 -0500 Subject: [PATCH] Fix tool shed functional test broken when the pull request resulting in changeset 329f9ac was accepted. --- test/tool_shed/functional/test_1140_tool_help_images.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tool_shed/functional/test_1140_tool_help_images.py b/test/tool_shed/functional/test_1140_tool_help_images.py index fcc9f1413d1..86315e32257 100644 --- a/test/tool_shed/functional/test_1140_tool_help_images.py +++ b/test/tool_shed/functional/test_1140_tool_help_images.py @@ -109,10 +109,10 @@ class TestToolHelpImages( ShedTwillTestCase ): In the center tool panel, look for the image string similar to the following string where the encoded_repository_id is previously determined as the installed ToolShedRepository id: - src="/admin_toolshed/static/images//count_modes.png" + src="admin_toolshed/static/images//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 = 'src="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' ]