/[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 792 - (show annotations)
Fri Jul 28 10:37:16 2006 UTC (14 years, 4 months ago) by gross
File MIME type: text/x-python
File size: 1033 byte(s)
frame for pyvisi set up
1 # $Id$
2 """
3 runs the pyvisi tests
4
5 @var __author__: name of author
6 @var __copyright__: copyrights
7 @var __license__: licence agreement
8 @var __url__: url entry point on documentation
9 @var __version__: version
10 @var __date__: date of the version
11 """
12
13 __author__="Lutz Gross, l.gross@uq.edu.au"
14 __copyright__=""" Copyright (c) 2006 by ACcESS MNRF
15 http://www.access.edu.au
16 Primary Business: Queensland, Australia"""
17 __license__="""Licensed under the Open Software License version 3.0
18 http://www.opensource.org/licenses/osl-3.0.php"""
19 __url__="http://www.iservo.edu.au/esys/escript"
20 __version__="$Revision$"
21 __date__="$Date$"
22
23 from test_pyvisi import *
24
25 class Test_vtk_jpeg(Test_pyvisi):
26 def setUp(self):
27 self.s=openScene(renderer="vtk_jpeg")
28
29
30
31
32 if __name__ == '__main__':
33 suite = unittest.TestSuite()
34 suite.addTest(unittest.makeSuite(Test_vtk_jpeg))
35 s=unittest.TextTestRunner(verbosity=2).run(suite)
36 if s.wasSuccessful():
37 sys.exit(0)
38 else:
39 sys.exit(1)

  ViewVC Help
Powered by ViewVC 1.1.26