diff options
Diffstat (limited to '')
| -rw-r--r-- | tests/test_corrupted_files.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_corrupted_files.py b/tests/test_corrupted_files.py index 1d66556..7f8e223 100644 --- a/tests/test_corrupted_files.py +++ b/tests/test_corrupted_files.py | |||
| @@ -194,10 +194,9 @@ class TestCorruptedFiles(unittest.TestCase): | |||
| 194 | os.remove('./tests/data/clean.jpg') | 194 | os.remove('./tests/data/clean.jpg') |
| 195 | 195 | ||
| 196 | def test_png_lightweight(self): | 196 | def test_png_lightweight(self): |
| 197 | return | ||
| 198 | shutil.copy('./tests/data/dirty.torrent', './tests/data/clean.png') | 197 | shutil.copy('./tests/data/dirty.torrent', './tests/data/clean.png') |
| 199 | p = images.PNGParser('./tests/data/clean.png') | 198 | with self.assertRaises(ValueError): |
| 200 | self.assertTrue(p.remove_all()) | 199 | p = images.PNGParser('./tests/data/clean.png') |
| 201 | os.remove('./tests/data/clean.png') | 200 | os.remove('./tests/data/clean.png') |
| 202 | 201 | ||
| 203 | def test_avi(self): | 202 | def test_avi(self): |
