From ee2ccc6b2e082d5d262e69351f96f4999887446d Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Mon, 18 Jul 2005 20:39:04 +0000 Subject: [PATCH] try to increase the timeShift value git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3463 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/CMFActivity/tests/testCMFActivity.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/CMFActivity/tests/testCMFActivity.py b/product/CMFActivity/tests/testCMFActivity.py index ce587ebfe0..9bd78220c2 100755 --- a/product/CMFActivity/tests/testCMFActivity.py +++ b/product/CMFActivity/tests/testCMFActivity.py @@ -471,7 +471,7 @@ class TestCMFActivity(ERP5TypeTestCase): self.assertEquals(organisation.getDescription(),self.title1) # Now wait some time and test again (this should be simulated by changing dates in SQL Queue) from Products.CMFActivity.Activity.Queue import VALIDATION_ERROR_DELAY - portal.portal_activities.timeShift(2 * VALIDATION_ERROR_DELAY) + portal.portal_activities.timeShift(3 * VALIDATION_ERROR_DELAY) portal.portal_activities.tic() get_transaction().commit() message_list = portal.portal_activities.getMessageList() @@ -1003,7 +1003,6 @@ class TestCMFActivity(ERP5TypeTestCase): # Check if what we did was executed as toto self.assertEquals(email.getOwnerInfo()['id'],'toto') - if __name__ == '__main__': -- 2.30.9