/[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 601 - (show annotations)
Fri Mar 17 06:18:25 2006 UTC (13 years, 7 months ago) by gross
File MIME type: text/x-python
File size: 1364 byte(s)
directories are moved around to match escript convention
1 # Copyright (C) 2004 Paul Cochrane
2 #
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16
17 # $Id: test_item.py,v 1.1 2004/11/25 04:34:09 paultcochrane Exp $
18
19
20 ## @file test_item.py
21 import unittest
22 import sys,os,string
23 here = os.getcwd() + '/../../'
24 sys.path.append(here)
25 from pyvisi import * # this should import all of the pyvisi stuff needed
26
27 """
28 Class and functions for testing the Item class
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