1
0
Fork 0

Fix the testsuite on fedora

This commit is contained in:
jvoisin 2018-10-22 13:55:09 +02:00
parent 83389a63e9
commit 5bc88faedf
1 changed files with 5 additions and 0 deletions

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())