1
0
Fork 0
mirror of synced 2025-07-03 11:57:26 +02:00

Implement get_meta() for archives

This commit is contained in:
jvoisin 2018-10-25 11:29:50 +02:00
parent 5a9dc388ad
commit 513d897ea0
3 changed files with 27 additions and 1 deletions

View file

@ -36,6 +36,7 @@ class TestZipMetadata(unittest.TestCase):
meta = p.get_meta()
self.assertIsNotNone(meta)
self.assertEqual(meta['word/media/image1.png']['Comment'], 'This is a comment, be careful!')
ret = p.remove_all()
self.assertTrue(ret)