X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2Fplugin%2FTest%2FtestMEDReader18.py;h=58839809483220387911e3cf6ffbd58511a8158d;hb=08ab17bc266216e73edb72fefbcd115da4e9b1e2;hp=d9cb993ff5770db2a4ab188f4eb587eaa95276ca;hpb=2957581f3994d40c3b89e4aa1da2149ad299534c;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/plugin/Test/testMEDReader18.py b/src/Plugins/MEDReader/plugin/Test/testMEDReader18.py index d9cb993f..58839809 100644 --- a/src/Plugins/MEDReader/plugin/Test/testMEDReader18.py +++ b/src/Plugins/MEDReader/plugin/Test/testMEDReader18.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2015-2021 CEA/DEN, EDF R&D +# Copyright (C) 2015-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 @@ -48,8 +48,8 @@ def GenerateCase(): @WriteInTmpDir def test(): fname = GenerateCase() - reader=MEDReader(FileName=fname) - reader.AllArrays=['TS0/mesh/ComSup0/mesh@@][@@P0'] + reader=MEDReader(FileNames=[fname]) + reader.FieldsStatus=['TS0/mesh/ComSup0/mesh@@][@@P0'] ExtractGroup1 = ExtractGroup(Input=reader) ExtractGroup1.AllGroups=["GRP_grp0","GRP_grp1"] #ExtractGroup1.UpdatePipelineInformation()