def test_stack_user_project_id_default(self):
    self.stack = stack.Stack(self.ctx, 'user_project_none', self.tmpl)
    self.stack.store()
    self.assertIsNone(self.stack.stack_user_project_id)
    db_stack = stack_object.Stack.get_by_id(self.ctx, self.stack.id)
    self.assertIsNone(db_stack.stack_user_project_id)
def test_stack_user_project_id_default(self):
    self.stack = stack.Stack(self.ctx, 'user_project_none', self.tmpl)
    self.stack.store()
    self.assertIsNone(self.stack.stack_user_project_id)
    db_stack = stack_object.Stack.get_by_id(self.ctx, self.stack.id)
    self.assertIsNone(db_stack.stack_user_project_id)