mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
17 lines
400 B
Python
17 lines
400 B
Python
from spotdl.authorize import AuthorizeBase
|
|
|
|
import pytest
|
|
|
|
class TestAbstractBaseClass:
|
|
def test_error_abstract_base_class_authorizebase(self):
|
|
with pytest.raises(TypeError):
|
|
AuthorizeBase()
|
|
|
|
def test_inherit_abstract_base_class_authorizebase(self):
|
|
class AuthorizeKid(AuthorizeBase):
|
|
def authorize(self):
|
|
pass
|
|
|
|
AuthorizeKid()
|
|
|