def METHOD_NAME(cluster_ocm_spec, labels):
    template_info = create_template_info("hello: {{ cluster.unkown_attribute }}")
    with pytest.raises(Jinja2TemplateError):
        render_policy(template_info, cluster_ocm_spec, labels, settings={})