/[ascend]/trunk/pygtk/test.py
ViewVC logotype

Diff of /trunk/pygtk/test.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 669 by johnpye, Wed Jun 21 07:00:45 2006 UTC revision 689 by johnpye, Thu Jun 22 00:19:54 2006 UTC
# Line 5  class AscendTest(unittest.TestCase): Line 5  class AscendTest(unittest.TestCase):
5      def testloading(self):      def testloading(self):
6          import ascpy          import ascpy
7    
8        def testsystema4l(self):
9            import ascpy
10            L = ascpy.Library()
11            L.load('simpleflowsheet01.a4c')
12            S = L.getType('test_controller').getSimulation('mysim')
13            print "LOADED test_controller"  
14            
15  if __name__=='__main__':  if __name__=='__main__':
16      unittest.main()      unittest.main()
17    

Legend:
Removed from v.669  
changed lines
  Added in v.689

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22