mirror of
				https://github.com/KevinMidboe/spotify-downloader.git
				synced 2025-10-29 18:00:15 +00:00 
			
		
		
		
	Fix tests
This commit is contained in:
		
							
								
								
									
										1
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								setup.py
									
									
									
									
									
								
							| @@ -29,6 +29,7 @@ setup( | |||||||
|         'pafy >= 0.5.3.1', |         'pafy >= 0.5.3.1', | ||||||
|         'spotipy >= 2.4.4', |         'spotipy >= 2.4.4', | ||||||
|         'mutagen >= 1.37', |         'mutagen >= 1.37', | ||||||
|  |         'beautifulsoup4 >= 4.6.0', | ||||||
|         'unicode-slugify >= 0.1.3', |         'unicode-slugify >= 0.1.3', | ||||||
|         'titlecase >= 0.10.0', |         'titlecase >= 0.10.0', | ||||||
|         'logzero >= 1.3.1', |         'logzero >= 1.3.1', | ||||||
|   | |||||||
| @@ -16,7 +16,7 @@ raw_song = 'http://open.spotify.com/track/0JlS7BXXD07hRmevDnbPDU' | |||||||
|  |  | ||||||
|  |  | ||||||
| def test_metadata(): | def test_metadata(): | ||||||
|     expect_number = 22 |     expect_number = 23 | ||||||
|     global meta_tags |     global meta_tags | ||||||
|     meta_tags = spotify_tools.generate_metadata(raw_song) |     meta_tags = spotify_tools.generate_metadata(raw_song) | ||||||
|     assert len(meta_tags) == expect_number |     assert len(meta_tags) == expect_number | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user