Merge "incorrect name in unit test"

This commit is contained in:
Zuul
2021-02-03 10:02:43 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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)