'Check parameters section is not returned using the template as iter.
Test that the parameters section is not returned when the template is
used as an iterable.'

def test_parameters_section_not_iterable(self):

    expected_description = 'This    can    be    accessed'
    tmpl = template.Template({'heat_template_version': '2013-05-23', 'description': expected_description, 'parameters': {'foo': {'Type': 'String', 'Required': True}}})
    self.assertEqual(expected_description, tmpl['description'])
    self.assertNotIn('parameters', tmpl.keys())
