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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 821 by gross, Fri Jul 28 10:37:16 2006 UTC revision 822 by jongui, Tue Aug 29 01:39:27 2006 UTC
# Line 24  from test_pyvisi import * Line 24  from test_pyvisi import *
24    
25  class Test_vtk_jpeg(Test_pyvisi):  class Test_vtk_jpeg(Test_pyvisi):
26      def setUp(self):      def setUp(self):
27          self.s=openScene(renderer="vtk_jpeg")          self.scene=OpenScene(renderer="vtk_jpeg")
28    
29    class Test_vtk_ps(Test_pyvisi):
30        def setUp(self):
31            self.scene=OpenScene(renderer="vtk_ps")
32    
33    
34    
35  if __name__ == '__main__':  if __name__ == '__main__':
36     suite = unittest.TestSuite()     suite = unittest.TestSuite()
37     suite.addTest(unittest.makeSuite(Test_vtk_jpeg))     suite.addTest(unittest.makeSuite(Test_vtk_jpeg))
38       suite.addTest(unittest.makeSuite(Test_vtk_ps))
39     s=unittest.TextTestRunner(verbosity=2).run(suite)     s=unittest.TextTestRunner(verbosity=2).run(suite)
40     if s.wasSuccessful():     if s.wasSuccessful():
41       sys.exit(0)       sys.exit(0)

Legend:
Removed from v.821  
changed lines
  Added in v.822

  ViewVC Help
Powered by ViewVC 1.1.26