diff options
| author | jvoisin | 2018-09-24 20:15:07 +0200 |
|---|---|---|
| committer | jvoisin | 2018-09-24 20:15:07 +0200 |
| commit | 719cdf20fa8c9921b81eaf6bf3df0d50c790de82 (patch) | |
| tree | 2da79f90984aee0bdcd5036c0608d463cc1a07f4 /tests/test_deep_cleaning.py | |
| parent | 2e243355f51654c8c6392c80a17b090f9f012fd1 (diff) | |
Second pass of minor formatting
Diffstat (limited to 'tests/test_deep_cleaning.py')
| -rw-r--r-- | tests/test_deep_cleaning.py | 2 |
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') |
