# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2015 CEA/DEN, EDF R&D
+# Copyright (C) 2015-2019 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
reader.AllArrays=['TS0/mesh/ComSup0/mesh@@][@@P0']
ExtractGroup1 = ExtractGroup(Input=reader)
ExtractGroup1.AllGroups=["GRP_grp0","GRP_grp1"]
-ExtractGroup1.UpdatePipelineInformation()
+#ExtractGroup1.UpdatePipelineInformation()
res=servermanager.Fetch(ExtractGroup1,0)
-assert(res.GetBlock(0).GetNumberOfCells()==3)
+assert(res.GetNumberOfBlocks()==2)
+assert(res.GetBlock(1).GetNumberOfCells()==1)
+assert(res.GetBlock(0).GetNumberOfCells()==2)