devtools/testlib.py
changeset 9606 bf0d8df2aefb
parent 9580 abaae1496ba4
child 9626 90fb0623bb70
equal deleted inserted replaced
9605:e6b8931abe17 9606:bf0d8df2aefb
   551         except Exception as ex:
   551         except Exception as ex:
   552             self.__class__._repo_init_failed = ex
   552             self.__class__._repo_init_failed = ex
   553             raise
   553             raise
   554         resume_tracing()
   554         resume_tracing()
   555         self.setup_database()
   555         self.setup_database()
   556         self.commit()
   556         self._admin_clt_cnx.commit()
   557         MAILBOX[:] = [] # reset mailbox
   557         MAILBOX[:] = [] # reset mailbox
   558 
   558 
   559     def tearDown(self):
   559     def tearDown(self):
   560         # XXX hack until logilab.common.testlib is fixed
   560         # XXX hack until logilab.common.testlib is fixed
   561         if self._admin_clt_cnx is not None:
   561         if self._admin_clt_cnx is not None: