diff --git a/database_cleanup/tests/common.py b/database_cleanup/tests/common.py index 44347550d..1cba6102b 100644 --- a/database_cleanup/tests/common.py +++ b/database_cleanup/tests/common.py @@ -12,10 +12,3 @@ class Common(TransactionCase): # we also need the original registry for further tests, so save a # reference to it self.original_registry = Registry.registries[self.env.cr.dbname] - - def tearDown(self): - super(Common, self).tearDown() - # Force rollback to avoid unstable test database - self.env.cr.rollback() - # reset afterwards - Registry.registries[self.env.cr.dbname] = self.original_registry