1
0
mirror of synced 2024-11-22 01:04:23 +01:00

Fix the testsuite on fedora

This commit is contained in:
jvoisin 2018-10-22 13:55:09 +02:00
parent 83389a63e9
commit 5bc88faedf

View File

@ -195,6 +195,11 @@ class TestCorruptedFiles(unittest.TestCase):
os.remove('./tests/data/clean.jpg')
def test_avi(self):
try:
video._get_ffmpeg_path()
except RuntimeError:
raise unittest.SkipTest
shutil.copy('./tests/data/dirty.torrent', './tests/data/clean.avi')
p = video.AVIParser('./tests/data/clean.avi')
self.assertFalse(p.remove_all())