def test_stack_reads_tenant_from_context_if_empty(self):
    self.ctx.tenant = 'foo'
    self.stack = stack.Stack(self.ctx, 'test_stack', self.tmpl, tenant_id=None)
    self.assertEqual('foo', self.stack.tenant_id)
def test_stack_reads_tenant_from_context_if_empty(self):
    self.ctx.tenant = 'foo'
    self.stack = stack.Stack(self.ctx, 'test_stack', self.tmpl, tenant_id=None)
    self.assertEqual('foo', self.stack.tenant_id)