senlin/senlin/tests/unit/objects
Duc Truong 86119a69d8 Fix cooldown check
- Move cooldown check inside pre-op of scaling policy.  Cooldown only
  applies to scaling policy so it doesn't make sense to check it for all
  the other policies.
- Move last_op update into post_op of scaling policy.
- Change policy_check for scaling policy to pass for AFTER if action is
  either scale out or scale in. This allows the post_op of the scaling
  policy to be called and the last_op to be updated for either scaling action.

Closes-Bug: 1795503
Change-Id: I043cb2b67648c5767d00aca05b8d0825a6a371dc
2018-10-09 18:04:43 -07:00
..
requests Make webhook API compatible with Aodh 2018-05-01 01:17:45 +00:00
__init__.py Initialization of versioned objects 2016-05-25 02:09:32 -04:00
test_action.py unify exceptions' message 2017-01-18 14:28:29 +08:00
test_base.py Remove local subclass of Object and ObjectField 2018-01-14 23:47:47 -05:00
test_cluster.py Remove tox unit test warnings 2017-12-18 05:05:02 -05:00
test_event.py unify exceptions' message 2017-01-18 14:28:29 +08:00
test_fields.py Merge "Remove local subclass of Object and ObjectField" 2018-01-22 02:03:22 +00:00
test_health_registry.py add db api to health registry object 2017-12-20 16:48:59 +08:00
test_node.py Remove tox unit test warnings 2017-12-18 05:05:02 -05:00
test_notification.py revise BadRequest exception message 2017-01-18 10:34:52 +08:00
test_policy.py unify exceptions' message 2017-01-18 14:28:29 +08:00
test_profile.py unify exceptions' message 2017-01-18 14:28:29 +08:00
test_receiver.py Move receiver-find to object layer 2016-12-16 03:19:22 -05:00