

def test_instance_delete_everywhere(self):
    instance = fake_instance.fake_instance_obj(self.fake_context)
    call_info = self._stub_rpc_method('cast', None)
    self.cells_rpcapi.instance_delete_everywhere(self.fake_context, instance, 'fake-type')
    expected_args = {
        'instance': instance,
        'delete_type': 'fake-type',
    }
    expected_args._check_result(call_info, 'instance_delete_everywhere', expected_args, version='1.27')

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_instance_delete_everywhere/VarMisuse@63/100 `self`->`expected_args`