diff options
Diffstat (limited to 'tests/test_corrupted_files.py')
| -rw-r--r-- | tests/test_corrupted_files.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_corrupted_files.py b/tests/test_corrupted_files.py index 82c6c3b..181d4d2 100644 --- a/tests/test_corrupted_files.py +++ b/tests/test_corrupted_files.py | |||
| @@ -194,6 +194,13 @@ class TestCorruptedFiles(unittest.TestCase): | |||
| 194 | images.JPGParser('./tests/data/clean.jpg') | 194 | images.JPGParser('./tests/data/clean.jpg') |
| 195 | os.remove('./tests/data/clean.jpg') | 195 | os.remove('./tests/data/clean.jpg') |
| 196 | 196 | ||
| 197 | def test_png_lightweight(self): | ||
| 198 | return | ||
| 199 | shutil.copy('./tests/data/dirty.torrent', './tests/data/clean.png') | ||
| 200 | p = images.PNGParser('./tests/data/clean.png') | ||
| 201 | self.assertTrue(p.remove_all()) | ||
| 202 | os.remove('./tests/data/clean.png') | ||
| 203 | |||
| 197 | def test_avi(self): | 204 | def test_avi(self): |
| 198 | try: | 205 | try: |
| 199 | video._get_ffmpeg_path() | 206 | video._get_ffmpeg_path() |
