diff options
Diffstat (limited to 'tests/test_libmat2.py')
| -rw-r--r-- | tests/test_libmat2.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_libmat2.py b/tests/test_libmat2.py index 9354286..d692181 100644 --- a/tests/test_libmat2.py +++ b/tests/test_libmat2.py | |||
| @@ -131,9 +131,9 @@ class TestGetMeta(unittest.TestCase): | |||
| 131 | def test_docx(self): | 131 | def test_docx(self): |
| 132 | p = office.MSOfficeParser('./tests/data/dirty.docx') | 132 | p = office.MSOfficeParser('./tests/data/dirty.docx') |
| 133 | meta = p.get_meta() | 133 | meta = p.get_meta() |
| 134 | self.assertEqual(meta['cp:lastModifiedBy'], 'Julien Voisin') | 134 | self.assertEqual(meta['docProps/core.xml']['cp:lastModifiedBy'], 'Julien Voisin') |
| 135 | self.assertEqual(meta['dc:creator'], 'julien voisin') | 135 | self.assertEqual(meta['docProps/core.xml']['dc:creator'], 'julien voisin') |
| 136 | self.assertEqual(meta['Application'], 'LibreOffice/5.4.5.1$Linux_X86_64 LibreOffice_project/40m0$Build-1') | 136 | self.assertEqual(meta['docProps/app.xml']['Application'], 'LibreOffice/5.4.5.1$Linux_X86_64 LibreOffice_project/40m0$Build-1') |
| 137 | 137 | ||
| 138 | def test_libreoffice(self): | 138 | def test_libreoffice(self): |
| 139 | p = office.LibreOfficeParser('./tests/data/dirty.odt') | 139 | p = office.LibreOfficeParser('./tests/data/dirty.odt') |
