Commit 3760af70 authored by Nicolas Delaby's avatar Nicolas Delaby

change Sync calling

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14970 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3c334040
......@@ -198,7 +198,7 @@ class TestERP5SyncMLMixin:
nb_message = 1
result = portal_sync.SubSync(subscription)
while result['has_response']==1:
portal_sync.PubSync(publication.getTitle())
portal_sync.PubSync(publication)
result = portal_sync.SubSync(subscription)
nb_message += 1 + result['has_response']
return nb_message
......@@ -231,9 +231,9 @@ class TestERP5SyncMLMixin:
while result['has_response']==1:
# We do thing three times, so that we will test
# if we manage well duplicate messages
portal_sync.PubSync(publication.getTitle())
portal_sync.PubSync(publication.getTitle())
portal_sync.PubSync(publication.getTitle())
portal_sync.PubSync(publication)
portal_sync.PubSync(publication)
portal_sync.PubSync(publication)
result = portal_sync.SubSync(subscription)
result = portal_sync.SubSync(subscription)
result = portal_sync.SubSync(subscription)
......
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