'Display basic repository pages'

def test_0040_verify_repository(self):

    repository = self.test_db_util.get_repository_by_name_and_owner(repository_name, common.test_user_1_name)
    latest_changeset_revision = self.get_repository_tip(repository)
    self.check_for_valid_tools(repository, strings_displayed=['Filter1'])
    self.check_count_of_metadata_revisions_associated_with_repository(repository, metadata_count=1)
    tip = self.get_repository_tip(repository)
    tool_guid = ('%s/repos/user1/filtering_0000/Filter1/1.1.0' % self.url.replace('http://', '').rstrip('/'))
    tool_metadata_strings_displayed = [tool_guid, '1.1.0', 'Filter1', 'Filter', 'data    on    any    column    using    simple    expressions']
    tool_page_strings_displayed = ['Filter    (version    1.1.0)']
    self.check_repository_tools_for_changeset_revision(repository, tip, tool_metadata_strings_displayed=tool_metadata_strings_displayed, tool_page_strings_displayed=tool_page_strings_displayed)
    self.check_repository_metadata(repository, tip_only=False)
    self.browse_repository(repository, strings_displayed=[("Repository    '%s'    revision" % repository.name), '(repository    tip)'])
    self.display_repository_clone_page(common.test_user_1_name, repository_name, strings_displayed=['Uploaded    filtering    1.1.0', latest_changeset_revision])
