Commit 231cbb014535bc43a2f19a089648efcca546a86d
1 parent
6e069d5f
tests: Add xps sample file
File was created by myself, free to use
Showing
2 changed files
with
2 additions
and
1 deletions
tests/ooxml/test_basic.py
| ... | ... | @@ -34,7 +34,7 @@ class TestOOXML(unittest.TestCase): |
| 34 | 34 | ppsx=ooxml.DOCTYPE_POWERPOINT, ppsm=ooxml.DOCTYPE_POWERPOINT, |
| 35 | 35 | potx=ooxml.DOCTYPE_POWERPOINT, potm=ooxml.DOCTYPE_POWERPOINT, |
| 36 | 36 | ods=ooxml.DOCTYPE_NONE, odt=ooxml.DOCTYPE_NONE, |
| 37 | - odp=ooxml.DOCTYPE_NONE, | |
| 37 | + odp=ooxml.DOCTYPE_NONE, xps=ooxml.DOCTYPE_NONE, | |
| 38 | 38 | ) |
| 39 | 39 | |
| 40 | 40 | # files that are neither OLE nor xml: |
| ... | ... | @@ -42,6 +42,7 @@ class TestOOXML(unittest.TestCase): |
| 42 | 42 | except_extns = 'rtf', 'csv', 'zip' |
| 43 | 43 | |
| 44 | 44 | # analyse all files in data dir |
| 45 | + # TODO: use testdata_reader to extract real data from zip files | |
| 45 | 46 | for base_dir, _, files in os.walk(DATA_BASE_DIR): |
| 46 | 47 | for filename in files: |
| 47 | 48 | if filename in except_files: | ... | ... |
tests/test-data/other/presentation.xps
0 → 100755
No preview for this file type