Authenticating services

This commit is contained in:
Ritiek Malhotra
2020-04-02 04:14:07 +05:30
parent 2bb9a965f5
commit 121fcdcdf6
13 changed files with 157 additions and 12 deletions

View File

@@ -0,0 +1,15 @@
from spotdl.encode.exceptions import EncoderNotFoundError
from spotdl.encode.exceptions import FFmpegNotFoundError
from spotdl.encode.exceptions import AvconvNotFoundError
class TestEncoderNotFoundSubclass:
def test_encoder_not_found_subclass(self):
assert issubclass(FFmpegNotFoundError, Exception)
def test_ffmpeg_not_found_subclass(self):
assert issubclass(FFmpegNotFoundError, EncoderNotFoundError)
def test_avconv_not_found_subclass(self):
assert issubclass(AvconvNotFoundError, EncoderNotFoundError)