

def test_actions_get(self):
    fake_instance = {
        'uuid': uuids.instance,
        'cell_name': 'region!child',
    }
    call_info = self._stub_rpc_method('call', 'fake_response')
    result = self.cells_rpcapi.actions_get(self.fake_context, expected_args)
    expected_args = {
        'cell_name': 'region!child',
        'instance_uuid': fake_instance['uuid'],
    }
    self._check_result(call_info, 'actions_get', expected_args, version='1.5')
    self.assertEqual('fake_response', result)

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_actions_get/VarMisuse@51/80 `fake_instance`->`expected_args`