'Test get outputs without any mapping.'

def test_get_outputs_bad_no_data(self):

    hot_tpl = template_format.parse('\n                                heat_template_version:    2013-05-23\n                                outputs:\n                                        output1:\n                                ')
    tmpl = template.Template(hot_tpl)
    error = self.assertRaises(exception.StackValidationFailed, tmpl.__getitem__, tmpl.OUTPUTS)
    self.assertEqual('Each    output    must    contain    a    value    key.', six.text_type(error))
