

def test_service_get_all(self):
    call_info = self._stub_rpc_method('call', 'fake_response')
    fake_filters = {
        'key1': 'val1',
        'key2': 'val2',
    }
    result = self.cells_rpcapi.service_get_all(self.fake_context, filters=fake_filters)
    expected_args = {
        'filters': fake_filters,
    }
    self._check_result(expected_args, 'service_get_all', expected_args, version='1.2')
    self.assertEqual('fake_response', result)

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_service_get_all/VarMisuse@69/112 `call_info`->`expected_args`