Commit b5de1c0a authored by Nicolas Delaby's avatar Nicolas Delaby

Fix wrong test for import object from OOo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13902 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1c235d62
...@@ -884,8 +884,9 @@ class TestIngestion(ERP5TypeTestCase): ...@@ -884,8 +884,9 @@ class TestIngestion(ERP5TypeTestCase):
def stepCheckActivitiesCount(self, sequence=None, sequence_list=None, **kw): def stepCheckActivitiesCount(self, sequence=None, sequence_list=None, **kw):
message_list = self.getPortal().portal_activities.getMessageList() message_list = self.getPortal().portal_activities.getMessageList()
#101 objects x 3 (default_email, recursiveImmediateReindexObject, immediateReindexObject) = 303 activities self.assertEqual(1,len(message_list))
self.assertEqual(303,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): def stepCheckImportedPersonList(self, sequence=None, sequence_list=None, **kw):
person_module = self.getPortal().person_module person_module = self.getPortal().person_module
......
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