Commit 13bc32d8 authored by Sebastien Robin's avatar Sebastien Robin

use portal_activities.timeShift instead of sleep


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3472 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5805366c
......@@ -246,7 +246,8 @@ class ERP5TypeTestCase(PortalTestCase):
self.failUnless(count > 0)
# This give some time between messages
if count % 10 == 0:
time.sleep(1)
from Products.CMFActivity.Activity.Queue import VALIDATION_ERROR_DELAY
portal_activities.timeShift(3 * VALIDATION_ERROR_DELAY)
def failIfDifferentSet(self, a,b):
......
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