'Test default secntion\'s content behavior of HOT template.'

def test_defaults_for_empty_sections(self):

    tmpl = template.Template(hot_tpl_empty_sections)
    self.assertIsInstance(tmpl, hot_template.HOTemplate20130523)
    self.assertNotIn('foobar', tmpl)
    self.assertEqual('No    description', tmpl[tmpl.DESCRIPTION])
    self.assertEqual({}, tmpl[tmpl.RESOURCES])
    self.assertEqual({}, tmpl[tmpl.OUTPUTS])
    stack = parser.Stack(utils.dummy_context(), 'test_stack', tmpl)
    self.assertIsNone(stack.parameters._validate_user_parameters())
    self.assertIsNone(stack.validate())
