Commit e85e728d authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove assert because the key Data is not created in ooo handler. This key is...

remove assert because the key Data is not created in ooo handler. This key is created only in manager.py

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@43578 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c265e632
...@@ -92,8 +92,6 @@ class TestOOHandler(HandlerTestCase): ...@@ -92,8 +92,6 @@ class TestOOHandler(HandlerTestCase):
decodestring(data), decodestring(data),
'odt') 'odt')
metadata = handler.getMetadata() metadata = handler.getMetadata()
self.assertEquals(metadata.get('Data'), '')
self.assertTrue('Data' in metadata)
self.assertEquals(metadata.get('MIMEType'), self.assertEquals(metadata.get('MIMEType'),
'application/vnd.oasis.opendocument.text') 'application/vnd.oasis.opendocument.text')
handler.document.restoreOriginal() handler.document.restoreOriginal()
......
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