

def test_service_delete(self):
    call_info = self._stub_rpc_method('call', None)
    cell_service_id = 'cell@id'
    result = self.cells_rpcapi.service_delete(self.fake_context, cell_service_id=cell_service_id)
    expected_args = {
        'cell_service_id': cell_service_id,
    }
    self._check_result(call_info, 'service_delete', expected_args, version='1.26')
    self.assertIsNone(result)

dataset/ETHPy150Open openstack/nova/nova/tests/unit/cells/test_cells_rpcapi.py CellsAPITestCase.test_service_delete/original