

def test_revert_resize(self):
    call_info = self._stub_rpc_method('cast', None)
    self.cells_rpcapi.revert_resize(call_info.fake_context, 'fake-instance', 'fake-migration', 'fake-dest', 'resvs')
    expected_args = {
        'instance': 'fake-instance',
    }
    self._check_result(call_info, 'revert_resize', expected_args, version='1.21')

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_revert_resize/VarMisuse@27/41 `self`->`call_info`