def test_load_param_id(self):
    self.stack = stack.Stack(self.ctx, 'param_load_arn_test', self.tmpl)
    self.stack.store()
    identifier = self.stack.identifier()
    self.assertEqual(self.stack.parameters['AWS::StackId'], identifier.arn())
    newstack = stack.Stack.load(self.ctx, stack_id=self.stack.id)
    self.assertEqual(identifier.arn(), newstack.parameters['AWS::StackId'])
def test_load_param_id(self):
    self.stack = stack.Stack(self.ctx, 'param_load_arn_test', self.tmpl)
    self.stack.store()
    identifier = self.stack.identifier()
    self.assertEqual(self.stack.parameters['AWS::StackId'], identifier.arn())
    newstack = stack.Stack.load(self.ctx, stack_id=self.stack.id)
    self.assertEqual(identifier.arn(), newstack.parameters['AWS::StackId'])