Commit 8fa09ce0 authored by Nicolas Delaby's avatar Nicolas Delaby

Document_convert was removed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35269 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4eb2db77
...@@ -624,7 +624,7 @@ class TestDocument(TestDocumentMixin): ...@@ -624,7 +624,7 @@ class TestDocument(TestDocumentMixin):
user = uf.getUserById('member_user2').__of__(uf) user = uf.getUserById('member_user2').__of__(uf)
newSecurityManager(None, user) newSecurityManager(None, user)
response = self.publish('%s/Document_convert?format=pdf' % doc.getPath(), response = self.publish('%s?format=pdf' % doc.getPath(),
basic='member_user2:secret') basic='member_user2:secret')
self.assertEquals('application/pdf', response.getHeader('content-type')) self.assertEquals('application/pdf', response.getHeader('content-type'))
self.assertEquals('attachment; filename="import.file.with.dot.in.filename.pdf"', self.assertEquals('attachment; filename="import.file.with.dot.in.filename.pdf"',
......
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