Parent Directory | Revision Log | Patch
revision 929 by johnpye, Thu Jun 22 00:48:31 2006 UTC | revision 930 by johnpye, Wed Nov 22 13:09:09 2006 UTC | |
---|---|---|
# | Line 10 class AscendTest(unittest.TestCase): | Line 10 class AscendTest(unittest.TestCase): |
10 | L = ascpy.Library() | L = ascpy.Library() |
11 | L.load('simpleflowsheet01.a4c') | L.load('simpleflowsheet01.a4c') |
12 | print "LOADED simpleflowsheet01" | print "LOADED simpleflowsheet01" |
13 | ||
14 | def testIDA(self): | |
15 | import ascpy | |
16 | try: | |
17 | L = ascpy.Library() | |
18 | L.load('johnpye/shm.a4c') | |
19 | M = L.findType('shm').getSimulation('sim') | |
20 | except Exception,e: | |
21 | fail(str(e)) | |
22 | ||
23 | if __name__=='__main__': | if __name__=='__main__': |
24 | unittest.main() | unittest.main() |
|
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |