예제 #1
0
 def setUp(self):
     sys.argv = sys.argv[:1]
     ConfigurationManager.destroySingleton()
     path = os.path.realpath("config/ipc")
     self.eo = ExecutionOrganiser()
     self.eo.bindInterface()
     ConfigurationManager(cwd=path)
예제 #2
0
 def tearDown(self):
     ConfigurationManager.destroySingleton()
     for api in self.apis:
         try:
             api.teardown()
         except:
             pass
예제 #3
0
 def tearDown(self):
     ExecutionOrganiser.destroySingleton()
     ConfigurationManager.destroySingleton()
예제 #4
0
 def setUp(self):
     print "cwd: ", os.getcwd()
     path = os.path.realpath("config/ipc")
     ConfigurationManager(cwd=path)
     self.apis = []
예제 #5
0
파일: TestAlgo.py 프로젝트: sys-git/epyrpc
 def setUp(self):
     ConfigurationManager.destroySingleton()
     self.eFormats = _makeFormats()
예제 #6
0
 def tearDown(self):
     ConfigurationManager.destroySingleton()
     for api in self.apis:
         try:    api.teardown()
         except: pass