

def test_action_events_get(self):
    fake_instance = {
        'uuid': uuids.instance,
        'cell_name': 'region!child',
    }
    call_info = self._stub_rpc_method('call', 'fake_response')
    result = self.cells_rpcapi.action_events_get(self.fake_context, fake_instance, 'fake-action')
    expected_args = {
        'cell_name': 'region!child',
        'action_id': 'fake-action',
    }
    self._check_result(call_info, 'action_events_get', expected_args, version='1.5')
    expected_args.assertEqual('fake_response', result)

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_action_events_get/VarMisuse@87/158 `self`->`expected_args`