'Load the /view/<user>/<repository> page and check for the appropriate strings.'

def test_0020_load_repository_view_page(self):

    '\n                                We    are    at    step    4.\n                                Visit    the    following    url    and    check    for    strings:    <tool    shed    base    url>/view/user1/filtering_0420\n                                                Resulting    page    should    contain    change    set    revision    1\n                                '
    repository = self.test_db_util.get_repository_by_name_and_owner(repository_name, common.test_user_1_name)
    test_user_1 = self.test_db_util.get_user(common.test_user_1_email)
    encoded_user_id = self.security.encode_id(test_user_1.id)
    encoded_repository_id = self.security.encode_id(repository.id)
    strings_displayed = ['/repository', 'view_repository', 'id=', encoded_repository_id]
    strings_displayed_in_iframe = ['user1', 'filtering_0420', 'Galaxy    filtering    tool    for    test    0420']
    strings_displayed_in_iframe.append(self.get_repository_tip(repository))
    strings_displayed_in_iframe.append('Link    to    this    repository:')
    strings_displayed_in_iframe.append(('%s/view/user1/filtering_0420' % self.url))
    self.load_citable_url(username='user1', repository_name='filtering_0420', changeset_revision=None, encoded_user_id=encoded_user_id, encoded_repository_id=encoded_repository_id, strings_displayed=strings_displayed, strings_displayed_in_iframe=strings_displayed_in_iframe)
