Commit ddf43e77 authored by Gabriel Monnerat's avatar Gabriel Monnerat

The Libreoffice does not raise exception when is a invalid data anymore. One...

The Libreoffice does not raise exception when is a invalid data anymore. One document is created but the data is incosistent
parent 287ab6ec
...@@ -252,8 +252,8 @@ class TestServer(TestCase): ...@@ -252,8 +252,8 @@ class TestServer(TestCase):
['data', 'meta', 'mime'], '', 'application/vnd.oasis.opendocument.text' ['data', 'meta', 'mime'], '', 'application/vnd.oasis.opendocument.text'
), ),
# Test run_convert method with invalid file # Test run_convert method with invalid file
('test.doc', open(join('data', 'test.doc')).read()[:30], 402, '', ('test.doc', open(join('data', 'test.doc')).read()[:30], 200, '',
'', '' ['data', 'meta', 'mime'], '', 'application/vnd.oasis.opendocument.text'
), ),
] ]
......
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