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:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user