'Create and upload repository_dependencies.xml for the emboss_5_0030 repository.'

def test_0040_generate_repository_dependency_on_emboss_5(self):

    emboss_repository = self.test_db_util.get_repository_by_name_and_owner(emboss_repository_name, common.test_user_1_name)
    emboss_5_repository = self.test_db_util.get_repository_by_name_and_owner(emboss_5_repository_name, common.test_user_1_name)
    repository_dependencies_path = self.generate_temp_path('test_0030', additional_paths=['emboss', '5'])
    emboss_tuple = (self.url, emboss_5_repository.name, emboss_5_repository.user.username, self.get_repository_tip(emboss_5_repository))
    self.create_repository_dependency(repository=emboss_repository, repository_tuples=[emboss_tuple], filepath=repository_dependencies_path)
