Salome HOME
Fix MEDWRITER_0 test and try to fix VoroGauss. Avoid duplicity of symbols in VTKToMEDMem
[modules/paravis.git] / src / Plugins / MEDReader / plugin / Test / testMEDReader4.py
index 4253bb39a345650505a6dc2f96e5a7e1bf2257d5..e386c483f00d706c6e5a3c40bc771964f8f2eb5d 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
@@ -71,10 +71,10 @@ def test(baseline_file):
 ################### MED write is done -> Go to MEDReader
   fname = GenerateCase()
 
-  testMEDReader4_med=MEDReader(FileName=fname)
+  testMEDReader4_med=MEDReader(FileNames=[fname])
 
-  testMEDReader4_med.AllArrays=['TS0/mesh/ComSup0/f0NoPfl@@][@@P1','TS0/mesh/ComSup0/mesh@@][@@P1']
-  #testMEDReader4_med.AllTimeSteps=['0000']
+  testMEDReader4_med.FieldsStatus=['TS0/mesh/ComSup0/f0NoPfl@@][@@P1','TS0/mesh/ComSup0/mesh@@][@@P1']
+  #testMEDReader4_med.TimesFlagsStatus=['0000']
 
   Glyph1=Glyph(Input=testMEDReader4_med,GlyphType='Sphere')
   Glyph1.ScaleArray=['POINTS','No scale array']#f0NoPflN