Commit ce7f080e authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Making test more reliable across platforms.

Change-Id: I6dfc08e0c313f696341c04098f2c8c0a0b46bf22
parent 06de2264
......@@ -3,15 +3,14 @@ from paraview.simple import *
import SMPythonTesting
SMPythonTesting.ProcessCommandLineArguments()
filename = SMPythonTesting.DataDir + '/Data/can.ex2'
can_ex2 = OpenDataFile(filename)
s = Sphere()
c =Cone(Resolution=10)
GroupDatasets(Input=[s,c])
Show()
SelectCells("id > 1000")
RenderView1 = Render()
RenderView1.CameraViewUp = [0.0, 0.0, 1.0]
RenderView1.CameraPosition = [0.21706008911132812, 55.740573746856327, -5.1109471321105957]
RenderView1.CameraFocalPoint = [0.21706008911132812, 4.0, -5.1109471321105957]
SelectCells("id > 2")
RenderView1 = Render()
if not SMPythonTesting.DoRegressionTesting(RenderView1.SMProxy):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment