Salome HOME
[bos #16777] [CEA] generateVectors makes SALOME crash
[modules/paravis.git] / src / Plugins / MEDReader / Test / testMEDReader9.py
index 2f402824d95640d76912f14aaef393ce8f281219..11de06553cfc63724cad1562f0e47bc7eaa753d2 100644 (file)
@@ -1,10 +1,10 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+# Copyright (C) 2007-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
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -44,12 +44,12 @@ from paraview.simple import *
 
 myMedReader=MEDReader(FileName=fname)
 myMedReader.AllArrays=['TS0/m1/ComSup0/f1@@][@@P0']
-myMedReader.UpdatePipelineInformation()
+#myMedReader.UpdatePipelineInformation()
 ExtractGroup1=ExtractGroup(Input=myMedReader)
-ExtractGroup1.UpdatePipelineInformation()
+#ExtractGroup1.UpdatePipelineInformation()
 assert(ExtractGroup1.GetProperty("MeshName")[0]=="m1")
 myMedReader.AllArrays=['TS0/m2/ComSup0/f2@@][@@P0']
-myMedReader.UpdatePipeline()
+#myMedReader.UpdatePipeline()
 ExtractGroup2=ExtractGroup(Input=myMedReader)
-ExtractGroup2.UpdatePipelineInformation()
+#ExtractGroup2.UpdatePipelineInformation()
 assert(ExtractGroup2.GetProperty("MeshName")[0]=="m2")