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

Annotation of /trunk/pyvisi/test/python/test_axes.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 600 - (hide annotations)
Fri Mar 17 05:53:59 2006 UTC (14 years, 10 months ago) by gross
Original Path: trunk/pyvisi/py_src/tests/test_axes.py
File MIME type: text/x-python
File size: 1374 byte(s)
some renaming
1 cochrane 337 # 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_axes.py,v 1.2 2004/11/24 06:24:06 paultcochrane Exp $
18    
19     ## @file test_axes.py
20    
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     from ESyS import *
28     import Finley
29    
30     """
31     Class and functions for testing the Axes class
32     """
33    
34     class TestAxes(unittest.TestCase):
35     """
36     The main test class
37     """
38    
39     def testAxesBases(self):
40     bases = "%s" % Axes.__bases__
41     self.assertEqual(bases, '<class \'pyvisi.scene.Plot\'>')
42    
43     if __name__ == '__main__':
44     unittest.main()
45    
46     # vim: expandtab shiftwidth=4:

  ViewVC Help
Powered by ViewVC 1.1.26