mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Better handling when FFmpeg isn't found
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user