diff --git a/product/ERP5Type/tests/ERP5TypeTestCase.py b/product/ERP5Type/tests/ERP5TypeTestCase.py index ff30781a1516cbadc800dbd51f320f675e170deb..3e9247047d27db8185623be6229fcdbc8228259d 100755 --- a/product/ERP5Type/tests/ERP5TypeTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeTestCase.py @@ -313,6 +313,9 @@ def setupERP5Site(business_template_list=(), app=None, portal_name=portal_name, portal_activities.distribute() portal_activities.tic() get_transaction().commit() + # Reset aq dynamic, so all unit tests will start again + from Products.ERP5Type.Base import _aq_reset + _aq_reset() # Log out if not quiet: ZopeTestCase._print('Logout ... \n') noSecurityManager()