mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Test spotify generated songname
This commit is contained in:
9
test/test_spotify.py
Normal file
9
test/test_spotify.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
|
||||
import spotdl
|
||||
|
||||
def test_songname():
|
||||
song = "http://open.spotify.com/track/2e0jnySVkYF1pvBlpoNX1Y"
|
||||
expected_title = "David André Østby - Tilbake (SAEVIK Remix)"
|
||||
title = spotdl.generate_songname(song)
|
||||
assert title == expected_title
|
||||
Reference in New Issue
Block a user