Home | Trees | Indices | Help |
---|
|
1 import unittest 2 import util.ComponentRegistry as compReg 3 from operationscore.SmootCoreObject import SmootCoreObject226 compReg.initRegistry()79 compReg.clearRegistry()1012 comp = SmootCoreObject({'Id': 'obj1'}) 13 compReg.registerComponent(comp) 14 newcomp = compReg.getComponent('obj1') 15 assert comp == newcomp1618 comp = SmootCoreObject({}) 19 cid =compReg.registerComponent(comp) 20 newcomp = compReg.getComponent(cid) 21 assert comp == newcomp
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Feb 18 16:55:27 2011 | http://epydoc.sourceforge.net |