summaryrefslogtreecommitdiff
path: root/heat/tests/test_template.py
diff options
context:
space:
mode:
authorZane Bitter <zbitter@redhat.com>2017-02-17 13:33:06 -0500
committerZane Bitter <zbitter@redhat.com>2017-02-24 10:19:21 -0500
commit2cf7af7deb15119859fd7a3e9e32f8623dcb2214 (patch)
tree303711bcc63bd0d60e9b4a2c104859089849be95 /heat/tests/test_template.py
parent903a5106e84f2ed098feecd283990c88c2860c20 (diff)
downloadheat-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.py2
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,