Skip to content

Commit

Permalink
Remove repair tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Oct 16, 2017
1 parent f191a1e commit eec678c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
6 changes: 0 additions & 6 deletions test/shed_functional/base/twilltestcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1159,12 +1159,6 @@ def reset_repository_metadata(self, repository):
self.visit_url(url)
self.check_for_strings(['All repository metadata has been reset.'])

def repair_installed_repository(self, repository):
repository_id = self.security.encode_id(repository.id)
url = '/admin_toolshed/repair_repository?id=%s' % repository_id
self.visit_galaxy_url(url)
self.submit_form('repair_repository', 'repair_repository_button')

def review_repository(self, repository, review_contents_dict, user=None, changeset_revision=None):
strings_displayed = []
strings_not_displayed = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
repository is also installed. Make sure to install the repositories in a specified section of the tool panel.
2) Uninstall the filter_1430 repository.
3) Repair the column_1430 repository.
4) Make sure the filter_1430 repository is reinstalled and the tool is loaded into the tool panel in the same section specified in step 1.
'''


Expand Down Expand Up @@ -150,24 +146,3 @@ def test_0025_uninstall_filter_repository(self):
"Galaxy's filter tool for test 1430",
installed_repository.installed_changeset_revision]
self.display_galaxy_browse_repositories_page(strings_not_displayed=strings_not_displayed)

def test_0030_repair_column_repository(self):
'''Repair the column_1430 repository.'''
'''
This is step 3 - Repair the column_1430 repository.
'''
column_repository = self.test_db_util.get_installed_repository_by_name_owner('column_1430', common.test_user_1_name)
self.repair_installed_repository(column_repository)

def test_0035_verify_tool_panel_section(self):
'''Check the tool panel section after repairing.'''
'''
This is step 4 - Make sure the filter_1430 repository is reinstalled and the tool is loaded into the tool panel
in the same section specified in step 1.
'''
filter_repository = self.test_db_util.get_installed_repository_by_name_owner('filter_1430', common.test_user_1_name)
strings_displayed = ['filter_1430',
"Galaxy's filter tool for test 1430",
filter_repository.installed_changeset_revision]
self.display_galaxy_browse_repositories_page(strings_displayed=strings_displayed)
self.check_galaxy_repository_tool_panel_section(repository=filter_repository, expected_tool_panel_section='repair')

0 comments on commit eec678c

Please sign in to comment.