'Get a specific instance action event.'

def test_instance_action_event_get_by_id(self):

    ctxt2 = context.get_admin_context()
    uuid1 = uuidsentinel.uuid1
    uuid2 = uuidsentinel.uuid2
    action = db.action_start(self.ctxt, self._create_action_values(uuid1))
    db.action_start(ctxt2, self._create_action_values(uuid2, 'reboot', ctxt2))
    event = db.action_event_start(self.ctxt, self._create_event_values(uuid1))
    event_values = self._create_event_values(uuid2, 'reboot', ctxt2)
    db.action_event_start(ctxt2, event_values)
    saved_event = db.action_event_get_by_id(self.ctxt, action['id'], event['id'])
    self._assertEqualObjects(event, saved_event, ['instance_uuid', 'request_id'])
