'Test HOT version check.
Pass an invalid HOT version to template.Template.__new__() and
validate that we get a ValueError.'

def test_invalid_hot_version(self):

    tmpl_str = "heat_template_version:    this-ain't-valid"
    hot_tmpl = template_format.parse(tmpl_str)
    self.assertRaises(exception.InvalidTemplateVersion, template.Template, hot_tmpl)
