From 01e75962e5b6506b59bacc34141c6e3fca4742dc Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Mon, 18 Jul 2005 13:40:39 +0000 Subject: [PATCH] reset aq_dynamic before each test git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3459 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/tests/ERP5TypeTestCase.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product/ERP5Type/tests/ERP5TypeTestCase.py b/product/ERP5Type/tests/ERP5TypeTestCase.py index ff30781a15..3e9247047d 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() -- 2.30.9