'Create an instance action.'

def test_instance_action_finish(self):

    uuid = uuidsentinel.uuid1
    action_values = self._create_action_values(uuid)
    db.action_start(self.ctxt, action_values)
    action_values['finish_time'] = timeutils.utcnow()
    action = db.action_finish(self.ctxt, action_values)
    self._assertEqualObjects(action_values, action, self.IGNORED_FIELDS)
    self._assertActionSaved(action, uuid)
