'Create repositories emboss_0050, emboss_datatypes_0050, filtering_0050, freebayes_0050.'

def test_0035_create_repositories_from_0050_series(self):

    category = self.create_category(name=category_0050_name, description='')
    datatypes_repository = self.get_or_create_repository(name='emboss_datatypes_0050', description='Datatypes    for    emboss', long_description="Long    description    of    Emboss'    datatypes", owner=common.test_user_1_name, category_id=self.security.encode_id(category.id), strings_displayed=[])
    if self.repository_is_new(datatypes_repository):
        emboss_repository = self.get_or_create_repository(name='emboss_0050', description="Galaxy's    emboss    tool", long_description="Long    description    of    Galaxy's    emboss    tool", owner=common.test_user_1_name, category_id=self.security.encode_id(category.id), strings_displayed=[])
        filtering_repository = self.get_or_create_repository(name='filtering_0050', description="Galaxy's    filtering    tool", long_description="Long    description    of    Galaxy's    filtering    tool", owner=common.test_user_1_name, category_id=self.security.encode_id(category.id), strings_displayed=[])
        freebayes_repository = self.get_or_create_repository(name='freebayes_0050', 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.id), strings_displayed=[])
        self.upload_file(datatypes_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=[])
        self.upload_file(emboss_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=[])
        self.upload_file(freebayes_repository, filename='freebayes/freebayes.tar', filepath=None, valid_tools_only=True, uncompress_file=True, remove_repo_files_not_in_tar=False, commit_message='Uploaded    freebayes    tarball.', strings_displayed=[], strings_not_displayed=[])
        self.upload_file(filtering_repository, filename='filtering/filtering_1.1.0.tar', filepath=None, valid_tools_only=True, uncompress_file=True, remove_repo_files_not_in_tar=False, commit_message='Uploaded    filtering    1.1.0    tarball.', strings_displayed=[], strings_not_displayed=[])
        repository_dependencies_path = self.generate_temp_path('test_0350', additional_paths=['emboss'])
        dependency_tuple = (self.url, datatypes_repository.name, datatypes_repository.user.username, self.get_repository_tip(datatypes_repository))
        self.create_repository_dependency(repository=emboss_repository, repository_tuples=[dependency_tuple], filepath=repository_dependencies_path)
        repository_dependencies_path = self.generate_temp_path('test_0350', additional_paths=['filtering'])
        dependency_tuple = (self.url, emboss_repository.name, emboss_repository.user.username, self.get_repository_tip(emboss_repository))
        self.create_repository_dependency(repository=filtering_repository, repository_tuples=[dependency_tuple], filepath=repository_dependencies_path)
        repository_dependencies_path = self.generate_temp_path('test_0350', additional_paths=['freebayes'])
        dependency_tuple = (self.url, filtering_repository.name, filtering_repository.user.username, self.get_repository_tip(filtering_repository))
        self.create_repository_dependency(repository=emboss_repository, repository_tuples=[dependency_tuple], filepath=repository_dependencies_path)
        dependency_tuples = [(self.url, datatypes_repository.name, datatypes_repository.user.username, self.get_repository_tip(datatypes_repository)), (self.url, emboss_repository.name, emboss_repository.user.username, self.get_repository_tip(emboss_repository)), (self.url, filtering_repository.name, filtering_repository.user.username, self.get_repository_tip(filtering_repository)), (self.url, freebayes_repository.name, freebayes_repository.user.username, self.get_repository_tip(freebayes_repository))]
        self.create_repository_dependency(repository=freebayes_repository, repository_tuples=dependency_tuples, filepath=repository_dependencies_path)
