'Test get outputs without name.'

def test_get_outputs_bad_without_name(self):

    hot_tpl = template_format.parse('\n                                heat_template_version:    2013-05-23\n                                outputs:\n                                        description:    wrong    output\n                                        value:    value1\n                                ')
    tmpl = template.Template(hot_tpl)
    error = self.assertRaises(exception.StackValidationFailed, tmpl.__getitem__, tmpl.OUTPUTS)
    self.assertEqual(('"outputs"    must    contain    a    map    of    output    maps.    Found    a    [%s]    instead' % six.text_type), six.text_type(error))
