X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FTest%2FtestMEDReader20.py;h=9dc00d911b16d8e2ee2c71dd06bc451a9a66602a;hb=7f73f7630e2938bcd12c9736c95ab0b72ec8a072;hp=46ded62f85d4b567cbc2b47ef0ac0aaf40ae9ee3;hpb=4095225705684389c98367e7ba154be482dfd468;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/Test/testMEDReader20.py b/src/Plugins/MEDReader/Test/testMEDReader20.py index 46ded62f..9dc00d91 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader20.py +++ b/src/Plugins/MEDReader/Test/testMEDReader20.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2016 CEA/DEN, EDF R&D +# Copyright (C) 2016, 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 @@ -100,8 +100,8 @@ ColorBy(testMEDReader20medDisplay, ('CELLS', 'Field')) # rescale color and/or opacity maps used to include current data range testMEDReader20medDisplay.RescaleTransferFunctionToDataRange(True) -# show color bar/color legend -testMEDReader20medDisplay.SetScalarBarVisibility(renderView1, True) +# do not show color bar/color legend +testMEDReader20medDisplay.SetScalarBarVisibility(renderView1, False) # get color transfer function/color map for 'Field' fieldLUT = GetColorTransferFunction('Field') @@ -147,5 +147,5 @@ except: baseline_file = os.path.join(baselinePath,png) 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()