summaryrefslogtreecommitdiff
path: root/tests/test_deep_cleaning.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_deep_cleaning.py')
-rw-r--r--tests/test_deep_cleaning.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_deep_cleaning.py b/tests/test_deep_cleaning.py
index 4f1920d..03db6c5 100644
--- a/tests/test_deep_cleaning.py
+++ b/tests/test_deep_cleaning.py
@@ -30,7 +30,6 @@ class TestZipMetadata(unittest.TestCase):
30 self.assertEqual(item.date_time, (1980, 1, 1, 0, 0, 0)) 30 self.assertEqual(item.date_time, (1980, 1, 1, 0, 0, 0))
31 self.assertEqual(item.create_system, 3) # 3 is UNIX 31 self.assertEqual(item.create_system, 3) # 3 is UNIX
32 32
33
34 def test_office(self): 33 def test_office(self):
35 shutil.copy('./tests/data/dirty.docx', './tests/data/clean.docx') 34 shutil.copy('./tests/data/dirty.docx', './tests/data/clean.docx')
36 p = office.MSOfficeParser('./tests/data/clean.docx') 35 p = office.MSOfficeParser('./tests/data/clean.docx')
@@ -50,7 +49,6 @@ class TestZipMetadata(unittest.TestCase):
50 os.remove('./tests/data/clean.docx') 49 os.remove('./tests/data/clean.docx')
51 os.remove('./tests/data/clean.cleaned.docx') 50 os.remove('./tests/data/clean.cleaned.docx')
52 51
53
54 def test_libreoffice(self): 52 def test_libreoffice(self):
55 shutil.copy('./tests/data/dirty.odt', './tests/data/clean.odt') 53 shutil.copy('./tests/data/dirty.odt', './tests/data/clean.odt')
56 p = office.LibreOfficeParser('./tests/data/clean.odt') 54 p = office.LibreOfficeParser('./tests/data/clean.odt')