def test_updated_time(self):
    self.stack = stack.Stack(self.ctx, 'updated_time_test', self.tmpl)
    self.assertIsNone(self.stack.updated_time)
    self.stack.store()
    self.stack.create()
    tmpl = {'HeatTemplateFormatVersion': '2012-12-12', 'Resources': {'R1': {'Type': 'GenericResourceType'}}}
    newstack = stack.Stack(self.ctx, 'updated_time_test', template.Template(tmpl))
    self.stack.update(newstack)
    self.assertIsNotNone(self.stack.updated_time)
def test_updated_time(self):
    self.stack = stack.Stack(self.ctx, 'updated_time_test', self.tmpl)
    self.assertIsNone(self.stack.updated_time)
    self.stack.store()
    self.stack.create()
    tmpl = {'HeatTemplateFormatVersion': '2012-12-12', 'Resources': {'R1': {'Type': 'GenericResourceType'}}}
    newstack = stack.Stack(self.ctx, 'updated_time_test', template.Template(tmpl))
    self.stack.update(newstack)
    self.assertIsNotNone(self.stack.updated_time)