Example #1
0
 def transaction(self, request=None):
     if request is None:
         request = get_mocked_request(self.db)
     login(request)
     return wrap_request(
         request, managed_transaction(
             request=request, write=True, adopt_parent_txn=True))
Example #2
0
 def transaction(self, request=None):
     if request is None:
         request = get_mocked_request(self.db)
     login(request)
     return wrap_request(
         request, managed_transaction(
             request=request, write=True, adopt_parent_txn=True))
Example #3
0
 def transaction(self, request=None):
     if request is None:
         request = get_mocked_request(db=self.db)
     login()
     return wrap_request(request,
                         transaction(db=self.db, adopt_parent_txn=True))