Commit 3350da21 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

should be like this, i.e. broken odt -> pdf convertion, that still somehow...

should be like this, i.e. broken odt -> pdf convertion, that still somehow succeeds with LibreOffice3.3rc3.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42453 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8582b77b
......@@ -453,7 +453,7 @@ class TestServer(CloudoooTestCase):
data = open(join('data','test.odt'), 'r').read()[:100]
generate_result = self.proxy.run_generate('test.odt',
encodestring(data),
None, 'odt', 'application/pdf')
None, 'pdf', 'application/vnd.oasis.opendocument.text')
response_code, response_dict, response_message = generate_result
self.assertEquals(response_code, 402)
self.assertEquals(type(response_dict), DictType)
......
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