diff --git a/product/ERP5OOo/tests/testIngestion.py b/product/ERP5OOo/tests/testIngestion.py index 673d3a7f93e7432670a333afef1fe78fb492cb4c..d5b60761002407e1d46a111e362940dd15de4857 100644 --- a/product/ERP5OOo/tests/testIngestion.py +++ b/product/ERP5OOo/tests/testIngestion.py @@ -884,8 +884,9 @@ class TestIngestion(ERP5TypeTestCase): def stepCheckActivitiesCount(self, sequence=None, sequence_list=None, **kw): message_list = self.getPortal().portal_activities.getMessageList() - #101 objects x 3 (default_email, recursiveImmediateReindexObject, immediateReindexObject) = 303 activities - self.assertEqual(303,len(message_list)) + self.assertEqual(1,len(message_list)) + method_id = message_list[0].method_id + self.assertEqual('ERP5Site_importObjectFromOOoActivity',method_id) def stepCheckImportedPersonList(self, sequence=None, sequence_list=None, **kw): person_module = self.getPortal().person_module