Commit e54b69ba authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

test: add basic auth in syncml url.

parent c72cf42e
...@@ -77,7 +77,9 @@ class testSyncMLAsynchronousEngine(TestERP5SyncMLMixin): ...@@ -77,7 +77,9 @@ class testSyncMLAsynchronousEngine(TestERP5SyncMLMixin):
"not_running"): "not_running"):
self.sub.finish() self.sub.finish()
# Use url of the current site # Use url of the current site
self.updateSynchronizationURL(object_list = [self.pub, self.sub]) self.updateSynchronizationURL(
url=self.portal.absolute_url().replace('//', '//syncml:syncml@'),
object_list = [self.pub, self.sub])
# Update authentication # Update authentication
user = password = "syncml" user = password = "syncml"
self.addSynchronizationUser(user, password) self.addSynchronizationUser(user, password)
......
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