

def test_proxy_rpc_to_manager(self):
    call_info = self._stub_rpc_method('call', 'fake_response')
    result = self.cells_rpcapi.proxy_rpc_to_manager(self.fake_context, rpc_message='fake-msg', topic='fake-topic', call=True, timeout=(- 1))
    expected_args = {
        'rpc_message': 'fake-msg',
        'topic': 'fake-topic',
        'call': True,
        'timeout': (- 1),
    }
    self._check_result(call_info, 'proxy_rpc_to_manager', expected_args, version='1.2')
    call_info.assertEqual('fake_response', result)

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_proxy_rpc_to_manager/VarMisuse@97/165 `self`->`call_info`