Commit d97f39bc authored by Julien Muchembled's avatar Julien Muchembled

fixup! IngestionPolicy: accept data chunk as application/octet-stream

parent f2d3826d
......@@ -115,7 +115,7 @@ class Test(ERP5TypeTestCase):
env = {'CONTENT_TYPE': 'application/octet-stream'}
response = self.publish(
ingestion_policy.getPath() + '/ingest?reference=' + reference,
env=env, request_method='POST', stdin=StringIO(body))
'ERP5TypeTestCase:', env, request_method='POST', stdin=StringIO(body))
self.assertEqual(httplib.NO_CONTENT, response.getStatus())
data_stream_data = data_stream.getData()
......
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