Exemplo n.º 1
0
 def start_request(self, call_list):
     """ Setup the database, then pass the call list on to dispatch_many
         to handle them. """
     db.begin_txn()
     try:
         results = self.dispatch_many(call_list)
     except Fault, fault:
         db.abort_txn()
         log.warning("Fault %d: %s" %(fault.faultCode, fault.faultString))
         raise
Exemplo n.º 2
0
 def start_request(self, call_list):
     """ Setup the database, then pass the call list on to dispatch_many
         to handle them. """
     db.begin_txn()
     try:
         results = self.dispatch_many(call_list)
     except Fault, fault:
         db.abort_txn()
         log.warning("Fault %d: %s" % (fault.faultCode, fault.faultString))
         raise
Exemplo n.º 3
0
 def setup(self):
     setup_test_db()
     db.begin_txn()
Exemplo n.º 4
0
 def setup(self):
     setup_test_db()
     db.begin_txn()