-res=servermanager.Fetch(extractCellType1,0)
-assert(res.GetBlock(0).GetNumberOfCells()==2) # problem was here in PV4.3.1
-
-# compare with baseline image # Waiting KW return to uncomment this part because SIGSEGV in PV5.
-import os
-import sys
-try:
- baselineIndex = sys.argv.index('-B')+1
- baselinePath = sys.argv[baselineIndex]
-except:
- 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.interact()
+ res=servermanager.Fetch(extractCellType1,0)
+ assert(res.GetBlock(0).GetNumberOfCells()==2) # problem was here in PV4.3.1