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_corrupted_files.py | |
| parent | 2e243355f51654c8c6392c80a17b090f9f012fd1 (diff) | |
Second pass of minor formatting
Diffstat (limited to 'tests/test_corrupted_files.py')
| -rw-r--r-- | tests/test_corrupted_files.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_corrupted_files.py b/tests/test_corrupted_files.py index aee1530..30039e6 100644 --- a/tests/test_corrupted_files.py +++ b/tests/test_corrupted_files.py | |||
| @@ -146,19 +146,19 @@ class TestCorruptedFiles(unittest.TestCase): | |||
| 146 | def test_docx(self): | 146 | def test_docx(self): |
| 147 | shutil.copy('./tests/data/dirty.png', './tests/data/clean.docx') | 147 | shutil.copy('./tests/data/dirty.png', './tests/data/clean.docx') |
| 148 | with self.assertRaises(ValueError): | 148 | with self.assertRaises(ValueError): |
| 149 | office.MSOfficeParser('./tests/data/clean.docx') | 149 | office.MSOfficeParser('./tests/data/clean.docx') |
| 150 | os.remove('./tests/data/clean.docx') | 150 | os.remove('./tests/data/clean.docx') |
| 151 | 151 | ||
| 152 | def test_flac(self): | 152 | def test_flac(self): |
| 153 | shutil.copy('./tests/data/dirty.png', './tests/data/clean.flac') | 153 | shutil.copy('./tests/data/dirty.png', './tests/data/clean.flac') |
| 154 | with self.assertRaises(ValueError): | 154 | with self.assertRaises(ValueError): |
| 155 | audio.FLACParser('./tests/data/clean.flac') | 155 | audio.FLACParser('./tests/data/clean.flac') |
| 156 | os.remove('./tests/data/clean.flac') | 156 | os.remove('./tests/data/clean.flac') |
| 157 | 157 | ||
| 158 | def test_mp3(self): | 158 | def test_mp3(self): |
| 159 | shutil.copy('./tests/data/dirty.png', './tests/data/clean.mp3') | 159 | shutil.copy('./tests/data/dirty.png', './tests/data/clean.mp3') |
| 160 | with self.assertRaises(ValueError): | 160 | with self.assertRaises(ValueError): |
| 161 | audio.MP3Parser('./tests/data/clean.mp3') | 161 | audio.MP3Parser('./tests/data/clean.mp3') |
| 162 | os.remove('./tests/data/clean.mp3') | 162 | os.remove('./tests/data/clean.mp3') |
| 163 | 163 | ||
| 164 | def test_jpg(self): | 164 | def test_jpg(self): |
