'Create and populate the filtering_0420 repository'

def test_0005_create_repository(self):

    '\n                                We    are    at    step    1.\n                                Add    and    populate    a    repository    to    the    tool    shed    with    change    set    revision    0    (assume    owner    is    test_user_1).\n                                '
    global first_changeset_hash
    category = self.create_category(name='Test    0400    Repository    Citable    URLs', description='Test    0400    Repository    Citable    URLs    category')
    self.login(email=common.test_user_1_email, username=common.test_user_1_name)
    strings_displayed = self.expect_repo_created_strings(repository_name)
    repository = self.get_or_create_repository(name=repository_name, description=repository_description, long_description=repository_long_description, owner=common.test_user_1_name, category_id=self.security.encode_id(category.id), strings_displayed=strings_displayed)
    self.upload_file(repository, filename='filtering/filtering_2.2.0.tar', filepath=None, valid_tools_only=True, uncompress_file=True, remove_repo_files_not_in_tar=False, commit_message='Uploaded    filtering    2.2.0    tarball.', strings_displayed=[], strings_not_displayed=[])
    first_changeset_hash = self.get_repository_tip(repository)
