heat/heat/engine/cfn
Angus Salkeld f6894260ca Make sure we can create an empty template
The initial bug was for HOT, but this fixes the same issue
in CFN too.

1) all calls to template[section] should return {} and not
   None by default (hot was correct, but not cfn)
2) the validate needs to access the raw template "self.t" so
   make sure we have a similar logic there too.
3) when warning for zero resources, look for len(resoruces) == 0 not
   None.

Change-Id: Iee6e2abbf13173c17d92f47b8a7efe207c29a984
Closes-bug: #1339893
2014-07-14 21:26:43 +10:00
..
__init__.py Move built-in functions to separate modules 2014-02-19 00:02:01 -05:00
functions.py Get deletion policy from ResourceDefinition 2014-06-16 11:13:30 -04:00
template.py Make sure we can create an empty template 2014-07-14 21:26:43 +10:00