Commit 01e75962 authored by Sebastien Robin's avatar Sebastien Robin

reset aq_dynamic before each test


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3459 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 72c06c94
...@@ -313,6 +313,9 @@ def setupERP5Site(business_template_list=(), app=None, portal_name=portal_name, ...@@ -313,6 +313,9 @@ def setupERP5Site(business_template_list=(), app=None, portal_name=portal_name,
portal_activities.distribute() portal_activities.distribute()
portal_activities.tic() portal_activities.tic()
get_transaction().commit() get_transaction().commit()
# Reset aq dynamic, so all unit tests will start again
from Products.ERP5Type.Base import _aq_reset
_aq_reset()
# Log out # Log out
if not quiet: ZopeTestCase._print('Logout ... \n') if not quiet: ZopeTestCase._print('Logout ... \n')
noSecurityManager() noSecurityManager()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment