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:
16
spotdl/authorize/tests/test_authorize_base.py
Normal file
16
spotdl/authorize/tests/test_authorize_base.py
Normal file
@@ -0,0 +1,16 @@
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user