summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_libmat2.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_libmat2.py b/tests/test_libmat2.py
index 02579b0..717de3f 100644
--- a/tests/test_libmat2.py
+++ b/tests/test_libmat2.py
@@ -42,7 +42,9 @@ class TestGetMeta(unittest.TestCase):
42 def test_docx(self): 42 def test_docx(self):
43 p = office.OfficeParser('./tests/data/dirty.docx') 43 p = office.OfficeParser('./tests/data/dirty.docx')
44 meta = p.get_meta() 44 meta = p.get_meta()
45 print(meta) 45 self.assertEqual(meta['cp:lastModifiedBy'], 'Julien Voisin')
46 self.assertEqual(meta['dc:creator'], 'julien voisin')
47 self.assertEqual(meta['Application'], 'LibreOffice/5.4.5.1$Linux_X86_64 LibreOffice_project/40m0$Build-1')
46 48
47 49
48class TestCleaning(unittest.TestCase): 50class TestCleaning(unittest.TestCase):