mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-08 20:39:08 +00:00
Authenticating services
This commit is contained in:
15
spotdl/metadata/tests/test_metadata_exceptions.py
Normal file
15
spotdl/metadata/tests/test_metadata_exceptions.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from spotdl.metadata.exceptions import MetadataNotFoundError
|
||||
from spotdl.metadata.exceptions import SpotifyMetadataNotFoundError
|
||||
from spotdl.metadata.exceptions import YouTubeMetadataNotFoundError
|
||||
|
||||
|
||||
class TestMetadataNotFoundSubclass:
|
||||
def test_metadata_not_found_subclass(self):
|
||||
assert issubclass(MetadataNotFoundError, Exception)
|
||||
|
||||
def test_spotify_metadata_not_found(self):
|
||||
assert issubclass(SpotifyMetadataNotFoundError, MetadataNotFoundError)
|
||||
|
||||
def test_youtube_metadata_not_found(self):
|
||||
assert issubclass(YouTubeMetadataNotFoundError, MetadataNotFoundError)
|
||||
|
||||
Reference in New Issue
Block a user