Salome HOME
Copyright update 2022
[modules/paravis.git] / src / Plugins / MEDReader / plugin / Test / testMEDReader16.py
index cc31f6c792438f23b5b468e011247b6b71df22dd..906bdf241f3cb96e3bb1edb3fb2f20647d944a8d 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2007-2022  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
@@ -60,7 +60,7 @@ def test():
     ExtractGroup1.AllGroups=["GRP_grp1"]
     ELNOfieldToSurface1=ELNOfieldToSurface(Input=ExtractGroup1)
     ELNOfieldToPointGaussian1=ELNOfieldToPointGaussian(Input=ExtractGroup1)
-    ELNOfieldToPointGaussian1.SelectSourceArray=['ELNO@MyField']
+    ELNOfieldToPointGaussian1.SelectSourceArray=['CELLS','ELNO@MyField']
     for elt in [ELNOfieldToSurface1,ELNOfieldToPointGaussian1]:
         elnoMesh=servermanager.Fetch(ELNOfieldToPointGaussian1,0)
         vtkArrToTest=elnoMesh.GetBlock(0).GetPointData().GetArray("MyField")