devtools/testlib.py
branchstable
changeset 5401 547911327475
parent 5389 809d3b5b3d31
child 5408 120db445c179
child 5421 8167de96c523
--- a/devtools/testlib.py	Fri Apr 23 20:06:04 2010 +0200
+++ b/devtools/testlib.py	Mon Apr 26 10:41:40 2010 +0200
@@ -255,10 +255,10 @@
             self.__class__._repo_init_failed = ex
             raise
         resume_tracing()
+        self._cnxs = []
         self.setup_database()
         self.commit()
         MAILBOX[:] = [] # reset mailbox
-        self._cnxs = []
 
     def tearDown(self):
         for cnx in self._cnxs: