

def test_live_migrate_instance_not_passing_request_spec(self):
    call_info = self._stub_rpc_method('cast', None)
    self.cells_rpcapi.live_migrate_instance(self.fake_context, 'fake-instance', 'fake-host', 'fake-block', 'fake-commit', 'fake-spec')
    expected_args = {
        'instance': 'fake-instance',
        'block_migration': 'fake-block',
        'disk_over_commit': 'fake-commit',
        'host_name': 'fake-host',
    }
    call_info._check_result(call_info, 'live_migrate_instance', expected_args, version='1.20')

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_live_migrate_instance_not_passing_request_spec/VarMisuse@68/142 `self`->`call_info`