devtools/testlib.py
changeset 10112 ff7f86d8393d
parent 10108 129af90b2364
child 10219 eacb8ea38bf5
child 10259 2be01bb6f9de
--- a/devtools/testlib.py	Mon Dec 01 15:57:12 2014 +0100
+++ b/devtools/testlib.py	Wed Apr 02 15:32:17 2014 +0200
@@ -600,6 +600,7 @@
         while self._cleanups:
             cleanup, args, kwargs = self._cleanups.pop(-1)
             cleanup(*args, **kwargs)
+        self.repo.turn_repo_off()
 
     def _patch_SendMailOp(self):
         # monkey patch send mail operation so emails are sent synchronously