from heat.openstack.common import uuidutils
from heat.tests.common import HeatTestCase
from heat.tests import utils
+from heat.tests.utils import dummy_context
from heat.tests.utils import setup_dummy_db
def _setup_test_stack(self, stack_name):
t = template_format.parse(wp_template)
template = parser.Template(t)
- stack = parser.Stack(None, stack_name, template,
+ stack = parser.Stack(dummy_context(), stack_name, template,
environment.Environment({'Flavor': '2'}),
stack_id=uuidutils.generate_uuid())
return (t, stack)