Exemple #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)
Exemple #2
0
 def tearDown(self):
     ConfigurationManager.destroySingleton()
     for api in self.apis:
         try:
             api.teardown()
         except:
             pass
Exemple #3
0
 def tearDown(self):
     ExecutionOrganiser.destroySingleton()
     ConfigurationManager.destroySingleton()
Exemple #4
0
 def setUp(self):
     print "cwd: ", os.getcwd()
     path = os.path.realpath("config/ipc")
     ConfigurationManager(cwd=path)
     self.apis = []
Exemple #5
0
 def setUp(self):
     ConfigurationManager.destroySingleton()
     self.eFormats = _makeFormats()
Exemple #6
0
 def tearDown(self):
     ConfigurationManager.destroySingleton()
     for api in self.apis:
         try:    api.teardown()
         except: pass