5 Test function that creates an instance of PYHELLO component
6 usage : pyhello=test(clt)
8 # create an LifeCycleCORBA instance
10 lcc = LifeCycleCORBA.LifeCycleCORBA(clt.orb)
12 pyhello = lcc.FindOrLoadComponent("FactoryServerPy", "PYHELLO")
17 if __name__ == "__main__":
19 from runSalome import *
23 # Impression arborescence Naming Service
28 print " --- registered objects tree in Naming Service ---"
30 session=clt.waitNS("/Kernel/Session")
31 catalog=clt.waitNS("/Kernel/ModulCatalog")
33 container = clt.waitNS("/Containers/" + socket.gethostname().split('.')[0] + "/FactoryServerPy")