summaryrefslogtreecommitdiff
path: root/heat/tests/test_environment_format.py
diff options
context:
space:
mode:
authorAngus Salkeld <asalkeld@mirantis.com>2014-11-24 12:38:30 +1000
committerAngus Salkeld <asalkeld@mirantis.com>2014-12-15 09:44:11 +1000
commit08431c7c0601f64e6f0477dd502bf912eba8529b (patch)
tree311f789278066da27db8b568898dc32f6153ce33 /heat/tests/test_environment_format.py
parente1540f834c7b12cfad67931b2dac3eef4ed4ea54 (diff)
downloadheat-08431c7c0601f64e6f0477dd502bf912eba8529b.tar.gz
Add "parameter_defaults" to the environment
This give the user a way to set defaults recursively down nested stacks without having to create the parameter in every template (it's ignored if the template does not have the parameter). blueprint env-nested-usability Change-Id: Ie6b4481417204a527d322fd532c341b9acbce473
Diffstat (limited to 'heat/tests/test_environment_format.py')
-rw-r--r--heat/tests/test_environment_format.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/heat/tests/test_environment_format.py b/heat/tests/test_environment_format.py
index 75d975d93..25f636b61 100644
--- a/heat/tests/test_environment_format.py
+++ b/heat/tests/test_environment_format.py
@@ -24,6 +24,7 @@ class YamlEnvironmentTest(common.HeatTestCase):
yaml1 = ''
yaml2 = '''
parameters: {}
+parameter_defaults: {}
resource_registry: {}
'''
tpl1 = environment_format.parse(yaml1)