/[escript]/trunk/bruce/test/python/run_utilOnBruce.py
ViewVC logotype

Annotation of /trunk/bruce/test/python/run_utilOnBruce.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 705 - (hide annotations)
Fri Apr 7 17:57:37 2006 UTC (14 years, 6 months ago) by gross
File MIME type: text/x-python
File size: 904 byte(s)
python tests are allmost working
1 gross 289 # $Id$
2 elspeth 627 __copyright__=""" Copyright (c) 2006 by ACcESS MNRF
3     http://www.access.edu.au
4     Primary Business: Queensland, Australia"""
5     __license__="""Licensed under the Open Software License version 3.0
6     http://www.opensource.org/licenses/osl-3.0.php"""
7 gross 289
8     import unittest
9 gross 705 from test_util import Test_util_no_tagged_data as Test_util
10     from test_symbols import Test_symbols
11 gross 289 from esys.escript import ContinuousFunction
12 gross 700 from esys.bruce import Rectangle
13 gross 289 import sys
14    
15 gross 522 class Test_UtilOnBruce(Test_util,Test_symbols):
16 gross 289 def setUp(self):
17 gross 700 self.domain =Rectangle(10,10)
18 gross 444 self.functionspace = ContinuousFunction(self.domain)
19 gross 289
20     if __name__ == '__main__':
21     suite = unittest.TestSuite()
22     suite.addTest(unittest.makeSuite(Test_UtilOnBruce))
23     s=unittest.TextTestRunner(verbosity=2).run(suite)
24     if s.wasSuccessful():
25     sys.exit(0)
26     else:
27     sys.exit(1)
28    

  ViewVC Help
Powered by ViewVC 1.1.26