def test_youtube_url():
    expect_url = 'http://youtube.com/watch?v=qOOcy2-tmbk'
    url = spotdl.generate_youtube_url(raw_song, meta_tags=None)
    assert url == expect_url
Example #2
0
def youtube_url():
    expect_url = 'youtube.com/watch?v=rg1wfcty0BA'
    url = spotdl.generate_youtube_url(raw_song)
    assert url == expect_url
def test_youtube_url():
    expect_url = 'youtube.com/watch?v=qOOcy2-tmbk'
    url = spotdl.generate_youtube_url(raw_song)
    assert url == expect_url