Commit 29b9b5ac authored by Nicolas Delaby's avatar Nicolas Delaby

replace has been replaced by attachment

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35465 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 11cb53e7
...@@ -149,7 +149,7 @@ class TestOOoChart(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -149,7 +149,7 @@ class TestOOoChart(ERP5TypeTestCase, ZopeTestCase.Functional):
# test content type : application/vnd.oasis.opendocument.graphics # test content type : application/vnd.oasis.opendocument.graphics
self.assertTrue(content_type.startswith(self.content_type), content_type) self.assertTrue(content_type.startswith(self.content_type), content_type)
content_disposition = response.getHeader('content-disposition') content_disposition = response.getHeader('content-disposition')
self.assertEquals('inline', content_disposition.split(';')[0]) self.assertEquals('attachment', content_disposition.split(';')[0])
# Test ODG (zip) # Test ODG (zip)
body = response.getBody() body = response.getBody()
# Test Validation Relax NG # Test Validation Relax NG
......
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