

def test_resize_instance(self):
    call_info = self._stub_rpc_method('cast', None)
    call_info.cells_rpcapi.resize_instance(self.fake_context, 'fake-instance', dict(cow='moo'), 'fake-hint', 'fake-flavor', 'fake-reservations', clean_shutdown=True)
    expected_args = {
        'instance': 'fake-instance',
        'flavor': 'fake-flavor',
        'extra_instance_updates': dict(cow='moo'),
        'clean_shutdown': True,
    }
    self._check_result(call_info, 'resize_instance', expected_args, version='1.33')

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_resize_instance/VarMisuse@21/31 `self`->`call_info`