diff options
author | Zane Bitter <zbitter@redhat.com> | 2017-02-17 13:33:06 -0500 |
---|---|---|
committer | Zane Bitter <zbitter@redhat.com> | 2017-02-24 10:19:21 -0500 |
commit | 2cf7af7deb15119859fd7a3e9e32f8623dcb2214 (patch) | |
tree | 303711bcc63bd0d60e9b4a2c104859089849be95 /heat/tests/test_template.py | |
parent | 903a5106e84f2ed098feecd283990c88c2860c20 (diff) | |
download | heat-2cf7af7deb15119859fd7a3e9e32f8623dcb2214.tar.gz |
Use a StackDefinition to store the stack definition
Group the data currently available in the Stack class into a
StackDefinition and proxy requests for it.
Change-Id: I7c3be2f02fb8bc030dff80f21e99f33db22f42a1
Partially-Implements: blueprint stack-definition
Diffstat (limited to 'heat/tests/test_template.py')
-rw-r--r-- | heat/tests/test_template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/tests/test_template.py b/heat/tests/test_template.py index 497ebf6cd..96635ee41 100644 --- a/heat/tests/test_template.py +++ b/heat/tests/test_template.py @@ -888,7 +888,7 @@ class TemplateTest(common.HeatTestCase): tmpl = template.Template(parameter_template, env=env) stk = stack.Stack(self.ctx, 'test', tmpl) tmpl.env = environment.Environment({}) - stk.parameters = cfn_p.CfnParameters(stk.identifier(), tmpl) + stk.defn.parameters = cfn_p.CfnParameters(stk.identifier(), tmpl) snippet = {"Ref": "foo"} self.assertRaises(exception.UserParameterMissing, self.resolve, |