Salome HOME
updated copyright message
[modules/paravis.git] / src / Plugins / MEDReader / plugin / Test / testMEDReader4.py
index d41af2f4611c5c865cfd243103e93552c4522648..f4337159674a34529930f92ffdef6bd0fcb795af 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2007-2023  CEA, EDF
 #
 # 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