/[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 689 by johnpye, Thu Jun 22 00:19:54 2006 UTC revision 690 by johnpye, Thu Jun 22 00:48:31 2006 UTC
# Line 9  class AscendTest(unittest.TestCase): Line 9  class AscendTest(unittest.TestCase):
9          import ascpy          import ascpy
10          L = ascpy.Library()          L = ascpy.Library()
11          L.load('simpleflowsheet01.a4c')          L.load('simpleflowsheet01.a4c')
12          S = L.getType('test_controller').getSimulation('mysim')          print "LOADED simpleflowsheet01"
         print "LOADED test_controller"    
13                    
14  if __name__=='__main__':  if __name__=='__main__':
15      unittest.main()      unittest.main()

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

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