'Create the dependency structure for test 0030.'

def test_0045_create_repository_dependencies_for_0030(self):

    global running_standalone
    if running_standalone:
        datatypes_repository = self.test_db_util.get_repository_by_name_and_owner('emboss_datatypes_0030', common.test_user_1_name)
        emboss_repository = self.test_db_util.get_repository_by_name_and_owner('emboss_0030', common.test_user_1_name)
        emboss_5_repository = self.test_db_util.get_repository_by_name_and_owner('emboss_5_0030', common.test_user_1_name)
        emboss_6_repository = self.test_db_util.get_repository_by_name_and_owner('emboss_6_0030', common.test_user_1_name)
        repository_dependencies_path = self.generate_temp_path('test_0330', additional_paths=['emboss'])
        datatypes_tuple = (self.url, datatypes_repository.name, datatypes_repository.user.username, self.get_repository_tip(datatypes_repository))
        emboss_5_tuple = (self.url, emboss_5_repository.name, emboss_5_repository.user.username, self.get_repository_tip(emboss_5_repository))
        emboss_6_tuple = (self.url, emboss_6_repository.name, emboss_6_repository.user.username, self.get_repository_tip(emboss_6_repository))
        self.create_repository_dependency(repository=emboss_5_repository, repository_tuples=[datatypes_tuple], filepath=repository_dependencies_path)
        self.create_repository_dependency(repository=emboss_6_repository, repository_tuples=[datatypes_tuple], filepath=repository_dependencies_path)
        self.create_repository_dependency(repository=emboss_repository, repository_tuples=[emboss_5_tuple], filepath=repository_dependencies_path)
        self.create_repository_dependency(repository=emboss_repository, repository_tuples=[emboss_6_tuple], filepath=repository_dependencies_path)
