Salome HOME
EDF9622: Correction of ELNOPoints part
[modules/paravis.git] / src / Plugins / MEDReader / Test / testMEDReader0.py
index 5b33b462eeb87023e13a106a5c9d7b19138e6914..cbf311a89c99112785c2772da5cbc71832c9f576 100644 (file)
@@ -4,7 +4,7 @@
 # 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
@@ -93,6 +93,8 @@ ExtractGroup1=ExtractGroup()
 ExtractGroup1.Input=ELNOMesh1
 ExtractGroup1.UpdatePipelineInformation()
 ExtractGroup1.AllGroups=['GRP_ba2','GRP_to1','GRP_web']
+assert(isinstance(ExtractGroup1.GetProperty("MeshName")[0],str))
+assert(ExtractGroup1.GetProperty("MeshName")[0]=="mesh")
 #
 DataRepresentation3 = Show()
 DataRepresentation3.ScaleFactor = 0.008999999705702066