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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 637 - (show annotations)
Thu Mar 23 10:55:31 2006 UTC (14 years, 8 months ago) by gross
File MIME type: text/x-python
File size: 1143 byte(s)
more copyright statements added
1 """
2 Class and functions for testing the Item class
3
4 @var __author__: name of author
5 @var __license__: licence agreement
6 @var __copyright__: copyrights
7 @var __url__: url entry point on documentation
8 @var __version__: version
9 @var __date__: date of the version
10 """
11
12 __copyright__=""" Copyright (c) 2006 by ACcESS MNRF
13 http://www.access.edu.au
14 Primary Business: Queensland, Australia"""
15 __license__="""Licensed under the Open Software License version 3.0
16 http://www.opensource.org/licenses/osl-3.0.php"""
17 __author__="Paul Cochrane"
18 __url__="http://www.iservo.edu.au/esys"
19 __version__="$Revision$"
20 __date__="$Date$"
21
22
23
24 import unittest
25 import sys,os,string
26 here = os.getcwd() + '/../../'
27 sys.path.append(here)
28 from pyvisi import * # this should import all of the pyvisi stuff needed
29
30
31 class TestItem(unittest.TestCase):
32 """
33 The main test class
34 """
35
36 def testFunction(self):
37 """
38 A test function
39 """
40 self.assertEqual()
41 self.assertRaises()
42 self.assert_()
43
44 if __name__ == '__main__':
45 unittest.main()
46
47
48 # vim: expandtab shiftwidth=4:

  ViewVC Help
Powered by ViewVC 1.1.26