diff -r 3406d3bf05d4 -r 546316b0b09c iro/test_helpers/dbtestcase.py --- a/iro/test_helpers/dbtestcase.py Wed Mar 21 19:43:36 2012 +0100 +++ b/iro/test_helpers/dbtestcase.py Fri Mar 23 16:16:56 2012 +0100 @@ -13,6 +13,8 @@ from iro.controller.pool import dbPool +from .utils import DummyObserver + class DBTestCase(unittest.TestCase): '''a TestCase with DB connection you have to set self.session manually in setUp''' @@ -22,8 +24,11 @@ def setUp(self): md.setUp() + self.log = DummyObserver() + self.log.start() def tearDown(self): + self.log.stop() self.__cleanDB() def session(self,autocommit=True):