Merge "The original env should be {}, otherwise it can not be dealt with by heat client."
This commit is contained in:
commit
044a190e81
|
@ -44,7 +44,7 @@ class HeatStack(object):
|
||||||
self._template = None
|
self._template = None
|
||||||
self._parameters = {}
|
self._parameters = {}
|
||||||
self._files = {}
|
self._files = {}
|
||||||
self._hot_environment = ''
|
self._hot_environment = {}
|
||||||
self._applied = True
|
self._applied = True
|
||||||
self._description = description
|
self._description = description
|
||||||
self._last_stack_timestamps = (None, None)
|
self._last_stack_timestamps = (None, None)
|
||||||
|
|
|
@ -62,7 +62,7 @@ class TestHeatStack(base.MuranoTestCase):
|
||||||
hs = heat_stack.HeatStack('test-stack', 'Generated by TestHeatStack')
|
hs = heat_stack.HeatStack('test-stack', 'Generated by TestHeatStack')
|
||||||
hs._template = {'resources': {'test': 1}}
|
hs._template = {'resources': {'test': 1}}
|
||||||
hs._files = {}
|
hs._files = {}
|
||||||
hs._hot_environment = ''
|
hs._hot_environment = {}
|
||||||
hs._parameters = {}
|
hs._parameters = {}
|
||||||
hs._applied = False
|
hs._applied = False
|
||||||
hs.push()
|
hs.push()
|
||||||
|
@ -86,7 +86,7 @@ class TestHeatStack(base.MuranoTestCase):
|
||||||
parameters={},
|
parameters={},
|
||||||
template=expected_template,
|
template=expected_template,
|
||||||
files={},
|
files={},
|
||||||
environment='',
|
environment={},
|
||||||
tags=self.mock_tag
|
tags=self.mock_tag
|
||||||
)
|
)
|
||||||
self.assertTrue(hs._applied)
|
self.assertTrue(hs._applied)
|
||||||
|
|
Loading…
Reference in New Issue