'Initialize sample template.'

def _create_template(self):

    self.t = template_format.parse('\n                                heat_template_version:    2013-05-23\n                                parameters:\n                                                param1:\n                                                                type:    string\n                                                                description:    value1.\n                                                param2:\n                                                                type:    string\n                                                                description:    value2.\n                                                                hidden:    true\n                                                param3:\n                                                                type:    string\n                                                                description:    value3\n                                                                hidden:    true\n                                                                default:    "don\'t    encrypt    me!    I\'m    not    sensitive    enough"\n                                                param_string_default_int:\n                                                                type:    string\n                                                                description:    String    parameter    with    integer    default    value\n                                                                default:    4353\n                                                                hidden:    true\n                                                param_number:\n                                                                type:    number\n                                                                description:    Number    parameter\n                                                                default:    4353\n                                                                hidden:    true\n                                                param_boolean:\n                                                                type:    boolean\n                                                                description:    boolean    parameter\n                                                                default:    true\n                                                                hidden:    true\n                                                param_map:\n                                                                type:    json\n                                                                description:    json    parameter\n                                                                default:    {"fee":    {"fi":"fo"}}\n                                                                hidden:    true\n                                                param_comma_list:\n                                                                type:    comma_delimited_list\n                                                                description:    cdl    parameter\n                                                                default:    ["hola",    "senorita"]\n                                                                hidden:    true\n                                resources:\n                                                a_resource:\n                                                                type:    GenericResourceType\n                                ')
    template = {'template': self.t, 'files': {'foo': 'bar'}, 'environment': {'parameters': {'param1': 'foo', 'param2': 'bar', 'param_number': '456', 'param_boolean': '1', 'param_map': '{"test":"json"}', 'param_comma_list': '["Hola",    "Senor"]'}}}
    return db_api.raw_template_create(self.ctx, template)
