diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_corrupted_files.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_corrupted_files.py b/tests/test_corrupted_files.py index c92f0be..490ea42 100644 --- a/tests/test_corrupted_files.py +++ b/tests/test_corrupted_files.py | |||
| @@ -195,6 +195,11 @@ class TestCorruptedFiles(unittest.TestCase): | |||
| 195 | os.remove('./tests/data/clean.jpg') | 195 | os.remove('./tests/data/clean.jpg') |
| 196 | 196 | ||
| 197 | def test_avi(self): | 197 | def test_avi(self): |
| 198 | try: | ||
| 199 | video._get_ffmpeg_path() | ||
| 200 | except RuntimeError: | ||
| 201 | raise unittest.SkipTest | ||
| 202 | |||
| 198 | shutil.copy('./tests/data/dirty.torrent', './tests/data/clean.avi') | 203 | shutil.copy('./tests/data/dirty.torrent', './tests/data/clean.avi') |
| 199 | p = video.AVIParser('./tests/data/clean.avi') | 204 | p = video.AVIParser('./tests/data/clean.avi') |
| 200 | self.assertFalse(p.remove_all()) | 205 | self.assertFalse(p.remove_all()) |
