Commit ee87aca4a2d11794409ed50c634ce8aad4d9c356

Authored by Christian Herdtweck
1 parent 04a633a6

tests: add open office samples to oleobj test

oleobj cannot detect yet that these are open office, but it can now
treat them like regular zip files and find embedded objects in them.

Samples are harmless, were created by me.
tests/oleobj/test_basic.py
@@ -41,8 +41,10 @@ SAMPLES += tuple( @@ -41,8 +41,10 @@ SAMPLES += tuple(
41 'ab8c65e4c0fc51739aa66ca5888265b4') 41 'ab8c65e4c0fc51739aa66ca5888265b4')
42 for extn in ('xls', 'xlsx', 'xlsb', 'xlsm', 'xla', 'xlam', 'xlt', 'xltm', 42 for extn in ('xls', 'xlsx', 'xlsb', 'xlsm', 'xla', 'xlam', 'xlt', 'xltm',
43 'xltx', 'ppt', 'pptx', 'pptm', 'pps', 'ppsx', 'ppsm', 'pot', 43 'xltx', 'ppt', 'pptx', 'pptm', 'pps', 'ppsx', 'ppsm', 'pot',
44 - 'potx', 'potm') 44 + 'potx', 'potm', 'ods', 'odp')
45 ) 45 )
  46 +SAMPLES += (('embedded-simple-2007.odt', 'simple-text-file.txt',
  47 + 'bd5c063a5a43f67b3c50dc7b0f1195af'), )
46 48
47 49
48 def calc_md5(filename): 50 def calc_md5(filename):
tests/test-data/oleobj/embedded-simple-2007.odp 0 โ†’ 100644
No preview for this file type
tests/test-data/oleobj/embedded-simple-2007.ods 0 โ†’ 100644
No preview for this file type
tests/test-data/oleobj/embedded-simple-2007.odt 0 โ†’ 100644
No preview for this file type