diff options
| author | jvoisin | 2018-10-22 13:55:09 +0200 |
|---|---|---|
| committer | jvoisin | 2018-10-22 13:55:09 +0200 |
| commit | 5bc88faedf457f32c007a60a5145bec0dca60523 (patch) | |
| tree | 827914c0257d3b9538bac1698efbb643d3692778 /tests/test_corrupted_files.py | |
| parent | 83389a63e9b3e145f527cccf583b30bbe1993f4c (diff) | |
Fix the testsuite on fedora
Diffstat (limited to 'tests/test_corrupted_files.py')
| -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()) |
