/[escript]/trunk/pyvisi/test/python/run_renderes.py
ViewVC logotype

Contents of /trunk/pyvisi/test/python/run_renderes.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 837 - (show annotations)
Tue Sep 5 07:23:50 2006 UTC (14 years ago) by jongui
File MIME type: text/x-python
File size: 558 byte(s)
added more epydocs and improved the way colors are specified in the driver.


1 """
2 runs the pyvisi tests
3 """
4
5 """
6 from test_pyvisi import *
7
8 class Test_vtk_jpeg(Test_pyvisi):
9 def setUp(self):
10 self.scene=OpenScene(renderer="vtk_jpeg")
11
12 class Test_vtk_ps(Test_pyvisi):
13 def setUp(self):
14 self.scene=OpenScene(renderer="vtk_ps")
15
16
17
18 if __name__ == '__main__':
19 suite = unittest.TestSuite()
20 suite.addTest(unittest.makeSuite(Test_vtk_jpeg))
21 suite.addTest(unittest.makeSuite(Test_vtk_ps))
22 s=unittest.TextTestRunner(verbosity=2).run(suite)
23 if s.wasSuccessful():
24 sys.exit(0)
25 else:
26 sys.exit(1)
27 """

  ViewVC Help
Powered by ViewVC 1.1.26