Salome HOME
Merge Python 3 porting.
[modules/paravis.git] / src / Plugins / MEDReader / Test / testMEDReader19.py
index 66eff8669645c35d024b2a31badde63b892074e6..d40f56d10280870e99c0561e39d5a1ae7a389bb3 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2015-2016  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2017  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
@@ -77,14 +77,6 @@ extractCellType1Display = Show(extractCellType1, renderView1)
 # trace defaults for the display properties.
 extractCellType1Display.ColorArrayName = [None, '']
 extractCellType1Display.ScalarOpacityUnitDistance = 0.5
-extractCellType1Display.OpacityArray = [None, '']
-extractCellType1Display.RadiusArray = [None, '']
-extractCellType1Display.RadiusRange = [0.2, 0.7]
-extractCellType1Display.ConstantRadius = 0.7
-extractCellType1Display.PointSpriteDefaultsInitialized = 1
-extractCellType1Display.SelectInputVectors = [None, '']
-extractCellType1Display.WriteLog = ''
-
 
 renderView1.InteractionMode = '2D'
 renderView1.CameraPosition = [0.2, 0.2, 10000.0]
@@ -101,11 +93,10 @@ try:
   baselineIndex = sys.argv.index('-B')+1
   baselinePath = sys.argv[baselineIndex]
 except:
-  print "Could not get baseline directory. Test failed."
+  print("Could not get baseline directory. Test failed.")
   exit(1)
 baseline_file = os.path.join(baselinePath, imgName)
 import vtk.test.Testing
 vtk.test.Testing.VTK_TEMP_DIR = vtk.util.misc.vtkGetTempDir()
-vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file, threshold=25)
+vtk.test.Testing.compareImage(GetActiveView().GetRenderWindow(), baseline_file, threshold=1)
 vtk.test.Testing.interact()
-