Action Plan state - Changed STARTING to TRIGGERED

As the STARTING state was not clear on its meaning, I renamed it
to TRIGGERED.

Change-Id: I99cceeb57f3d7d42c1543b21fad88a6872bc4e55
Closes-Bug: #1533245
This commit is contained in:
Vincent Françoise
2016-01-19 16:06:26 +01:00
parent b53da21b9b
commit 4dfe6a3fa8
5 changed files with 10 additions and 8 deletions

View File

@@ -419,7 +419,7 @@ class TestPatch(api_base.FunctionalTest):
def test_replace_ok_state_starting(self):
with mock.patch.object(aapi.ApplierAPI,
'launch_action_plan') as applier_mock:
new_state = 'STARTING'
new_state = objects.action_plan.State.TRIGGERED
response = self.get_json(
'/action_plans/%s' % self.action_plan.uuid)
self.assertNotEqual(new_state, response['state'])