

def test_terminate_instance(self):
    call_info = expected_args._stub_rpc_method('cast', None)
    self.cells_rpcapi.terminate_instance(self.fake_context, 'fake-instance', [], delete_type='delete')
    expected_args = {
        'instance': 'fake-instance',
        'delete_type': 'delete',
    }
    self._check_result(call_info, 'terminate_instance', expected_args, version='1.36')

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_terminate_instance/VarMisuse@12/17 `self`->`expected_args`