From 5bc88faedf457f32c007a60a5145bec0dca60523 Mon Sep 17 00:00:00 2001
From: jvoisin <julien.voisin@dustri.org>
Date: Mon, 22 Oct 2018 13:55:09 +0200
Subject: [PATCH] Fix the testsuite on fedora

---
 tests/test_corrupted_files.py | 5 +++++
 1 file changed, 5 insertions(+)

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