'Create repositories emboss_0020 and emboss_datatypes_0020 if necessary.'

def test_0020_create_repositories_from_0020_series(self):

    category = self.create_category(name=category_0020_name, description='')
    repository = self.get_or_create_repository(name='emboss_datatypes_0020', description='Galaxy    applicable    data    formats    used    by    Emboss    tools.', long_description='Galaxy    applicable    data    formats    used    by    Emboss    tools.    This    repository    contains    no    tools.', owner=common.test_user_1_name, category_id=self.security.encode_id(category.id), strings_displayed=[])
    if self.repository_is_new(repository):
        self.upload_file(repository, filename='emboss/datatypes/datatypes_conf.xml', filepath=None, valid_tools_only=False, uncompress_file=False, remove_repo_files_not_in_tar=False, commit_message='Uploaded    datatypes_conf.xml.', strings_displayed=[], strings_not_displayed=[])
        repository = self.get_or_create_repository(name='emboss_0020', description='Galaxy    wrappers    for    Emboss    version    5.0.0    tools', long_description='Galaxy    wrappers    for    Emboss    version    5.0.0    tools', owner=common.test_user_1_name, category_id=self.security.encode_id(category.id), strings_displayed=[])
        self.upload_file(repository, filename='emboss/emboss.tar', filepath=None, valid_tools_only=True, uncompress_file=True, remove_repo_files_not_in_tar=False, commit_message='Uploaded    emboss.tar', strings_displayed=[], strings_not_displayed=[])
