Skip to content

Commit

Permalink
Redirect url in shared twillcase helper
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Oct 4, 2017
1 parent 4db19d2 commit 88bb5a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/shed_functional/base/twilltestcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1091,8 +1091,8 @@ def preview_workflow_in_tool_shed(self, repository_name, owner, workflow_name, s
self.check_for_strings(strings_displayed, strings_not_displayed)

def reactivate_repository(self, installed_repository):
params = dict(operation='activate or reinstall', id=self.security.encode_id(installed_repository.id))
url = '/admin_toolshed/browse_repositories'
params = dict(id=self.security.encode_id(installed_repository.id))
url = '/admin_toolshed/restore_repository'
self.visit_galaxy_url(url, params)
strings_displayed = [installed_repository.name, 'repository has been activated']
self.check_for_strings(strings_displayed, [])
Expand Down

0 comments on commit 88bb5a1

Please sign in to comment.