'Create and populate the freebayes_0010 repository.'

def test_0010_create_freebayes_repository(self):

    global running_standalone
    self.login(email=common.admin_email, username=common.admin_username)
    category_0010 = self.create_category(name='Test    0010    Repository    With    Tool    Dependencies', description='Tests    for    a    repository    with    tool    dependencies.')
    self.login(email=common.test_user_1_email, username=common.test_user_1_name)
    repository = self.get_or_create_repository(name='freebayes_0010', description="Galaxy's    freebayes    tool", long_description="Long    description    of    Galaxy's    freebayes    tool", owner=common.test_user_1_name, category_id=self.security.encode_id(category_0010.id), strings_displayed=[])
    if running_standalone:
        self.upload_file(repository, filename='freebayes/freebayes.xml', filepath=None, valid_tools_only=False, uncompress_file=True, remove_repo_files_not_in_tar=False, commit_message='Uploaded    freebayes.xml.', strings_displayed=[], strings_not_displayed=[])
        self.upload_file(repository, filename='freebayes/tool_data_table_conf.xml.sample', filepath=None, valid_tools_only=False, uncompress_file=True, remove_repo_files_not_in_tar=False, commit_message='Uploaded    tool_data_table_conf.xml.sample', strings_displayed=[], strings_not_displayed=[])
        self.upload_file(repository, filename='freebayes/sam_fa_indices.loc.sample', filepath=None, valid_tools_only=False, uncompress_file=True, remove_repo_files_not_in_tar=False, commit_message='Uploaded    sam_fa_indices.loc.sample', strings_displayed=[], strings_not_displayed=[])
        self.upload_file(repository, filename='freebayes/tool_dependencies.xml', filepath=None, valid_tools_only=False, uncompress_file=True, remove_repo_files_not_in_tar=False, commit_message='Uploaded    tool_dependencies.xml', strings_displayed=[], strings_not_displayed=[])
