Commit 56123b8d authored by Julien Muchembled's avatar Julien Muchembled

Update testWendelin wrt recent API change of ERP5TypeTestCase.publish()

parent b6adade0
...@@ -78,7 +78,7 @@ class Test(ERP5TypeTestCase): ...@@ -78,7 +78,7 @@ class Test(ERP5TypeTestCase):
else: else:
env = {'CONTENT_TYPE': 'application/octet-stream'} env = {'CONTENT_TYPE': 'application/octet-stream'}
path = ingestion_policy.getPath() + '/ingest?reference=' + reference path = ingestion_policy.getPath() + '/ingest?reference=' + reference
publish_kw = dict(basic='ERP5TypeTestCase:', env=env, publish_kw = dict(user='ERP5TypeTestCase', env=env,
request_method='POST', stdin=StringIO(body)) request_method='POST', stdin=StringIO(body))
response = self.publish(path, **publish_kw) response = self.publish(path, **publish_kw)
# Due to inconsistencies in the Zope framework, # Due to inconsistencies in the Zope framework,
......
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