mirror of
				https://github.com/KevinMidboe/spotify-downloader.git
				synced 2025-10-29 18:00:15 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			595 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			595 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from spotdl.authorize.exceptions import AuthorizationError
 | |
| from spotdl.authorize.exceptions import SpotifyAuthorizationError
 | |
| from spotdl.authorize.exceptions import YouTubeAuthorizationError
 | |
| 
 | |
| 
 | |
| class TestEncoderNotFoundSubclass:
 | |
|     def test_authozation_error_subclass(self):
 | |
|         assert issubclass(AuthorizationError, Exception)
 | |
| 
 | |
|     def test_spotify_authorization_error_subclass(self):
 | |
|         assert issubclass(SpotifyAuthorizationError, AuthorizationError)
 | |
| 
 | |
|     def test_youtube_authorization_error_subclass(self):
 | |
|         assert issubclass(YouTubeAuthorizationError, AuthorizationError)
 | |
| 
 |