Merge "incorrect name in unit test"
This commit is contained in:
@@ -40,7 +40,7 @@ class TestApplierAPI(base.TestCase):
|
||||
'check_api_version',
|
||||
api_version=rpcapi.ApplierAPI().API_VERSION)
|
||||
|
||||
def test_execute_audit_without_error(self):
|
||||
def test_execute_action_plan_without_error(self):
|
||||
with mock.patch.object(om.RPCClient, 'cast') as mock_cast:
|
||||
action_plan_uuid = utils.generate_uuid()
|
||||
self.api.launch_action_plan(self.context, action_plan_uuid)
|
||||
|
||||
@@ -83,4 +83,4 @@ class TestCancelOngoingActionPlans(db_base.DbTestCase):
|
||||
m_action_list.assert_called()
|
||||
m_plan_save.assert_called()
|
||||
m_action_save.assert_called()
|
||||
self.assertEqual(self.action.state, objects.audit.State.CANCELLED)
|
||||
self.assertEqual(self.action.state, objects.action.State.CANCELLED)
|
||||
|
||||
Reference in New Issue
Block a user