def generate_from_template(self, component_config, output_file,
                               template_file,
                               templates=defs.PACKAGER_TEMPLATE_PATH):
        lgr.debug('Generating config file...')
        if type(component_config) is not dict:
            lgr.error('Package must be of type dict.')
            sys.exit(codes.mapping['package_must_be_of_type_dict'])
        formatted_text = self._template_formatter(
            templates, template_file, component_config)
        self._make_file(output_file, formatted_text)
Tests PokitDok.identity_history lookup to return a change summary for a specific resource
dataset/ETHPy150Open cloudify-cosmo/packman/packman/templater.py/Handler.generate_from_template--crossover with--dataset/ETHPy150Open pokitdok/pokitdok-python/tests/test_api_client.py/TestAPIClient.test_identity_history_with_uuid