Better handling when FFmpeg isn't found

This commit is contained in:
Ritiek Malhotra
2020-05-12 20:41:00 +05:30
parent ad34bb01a3
commit f40f69fdc5
7 changed files with 10 additions and 77 deletions

View File

@@ -1,6 +1,5 @@
from spotdl.encode.exceptions import EncoderNotFoundError
from spotdl.encode.exceptions import FFmpegNotFoundError
from spotdl.encode.exceptions import AvconvNotFoundError
class TestEncoderNotFoundSubclass:
@@ -10,6 +9,3 @@ class TestEncoderNotFoundSubclass:
def test_ffmpeg_not_found_subclass(self):
assert issubclass(FFmpegNotFoundError, EncoderNotFoundError)
def test_avconv_not_found_subclass(self):
assert issubclass(AvconvNotFoundError, EncoderNotFoundError)