def test_timeout_secs_default(self):
    cfg.CONF.set_override('stack_action_timeout', 1000)
    self.stack = stack.Stack(self.ctx, 'test_stack', self.tmpl)
    self.assertIsNone(self.stack.timeout_mins)
    self.assertEqual(1000, self.stack.timeout_secs())
def test_timeout_secs_default(self):
    cfg.CONF.set_override('stack_action_timeout', 1000)
    self.stack = stack.Stack(self.ctx, 'test_stack', self.tmpl)
    self.assertIsNone(self.stack.timeout_mins)
    self.assertEqual(1000, self.stack.timeout_secs())