mirror of
				https://github.com/KevinMidboe/spotify-downloader.git
				synced 2025-10-29 18:00:15 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			406 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			406 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from spotdl import const
 | |
| from spotdl import handle
 | |
| from spotdl import spotdl
 | |
| 
 | |
| import pytest
 | |
| 
 | |
| 
 | |
| def load_defaults():
 | |
|     const.args = handle.get_arguments(raw_args="", to_group=False, to_merge=False)
 | |
|     const.args.overwrite = "skip"
 | |
|     const.args.log_level = 10
 | |
| 
 | |
|     spotdl.args = const.args
 | |
|     spotdl.log = const.logzero.setup_logger(
 | |
|         formatter=const._formatter, level=const.args.log_level
 | |
|     )
 |