mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Update music only URL
This commit is contained in:
@@ -22,7 +22,7 @@ def test_metadata():
|
|||||||
|
|
||||||
class TestYouTubeURL:
|
class TestYouTubeURL:
|
||||||
def test_only_music_category(self):
|
def test_only_music_category(self):
|
||||||
expect_url = None
|
expect_url = 'http://youtube.com/watch?v=5USR1Omo7f0'
|
||||||
const.args.music_videos_only = True
|
const.args.music_videos_only = True
|
||||||
url = youtube_tools.generate_youtube_url(raw_song, metadata)
|
url = youtube_tools.generate_youtube_url(raw_song, metadata)
|
||||||
assert url == expect_url
|
assert url == expect_url
|
||||||
|
|||||||
Reference in New Issue
Block a user