update tests sample video to version with lyrics
This commit is contained in:
parent
7e5697596c
commit
1d5cfc3b3c
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ config = configparser.RawConfigParser()
|
||||||
config.read('./test.cfg', 'utf-8')
|
config.read('./test.cfg', 'utf-8')
|
||||||
|
|
||||||
sample_album = "MPREb_4pL8gzRtw1p" # Eminem - Revival
|
sample_album = "MPREb_4pL8gzRtw1p" # Eminem - Revival
|
||||||
sample_video = "ZrOKjDZOtkA" # Oasis - Wonderwall (Remastered)
|
sample_video = "tGWs0xKwhag" # Oasis - Wonderwall (Remastered)
|
||||||
sample_playlist = "PL6bPxvf5dW5clc3y9wAoslzqUrmkZ5c-u" # very large playlist
|
sample_playlist = "PL6bPxvf5dW5clc3y9wAoslzqUrmkZ5c-u" # very large playlist
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -142,7 +142,7 @@ class TestYTMusic(unittest.TestCase):
|
||||||
def test_get_song_related_content(self):
|
def test_get_song_related_content(self):
|
||||||
song = self.yt_auth.get_watch_playlist(sample_video)
|
song = self.yt_auth.get_watch_playlist(sample_video)
|
||||||
song = self.yt_auth.get_song_related(song["related"])
|
song = self.yt_auth.get_song_related(song["related"])
|
||||||
self.assertEqual(len(song), 5)
|
self.assertGreaterEqual(len(song), 5)
|
||||||
|
|
||||||
def test_get_lyrics(self):
|
def test_get_lyrics(self):
|
||||||
playlist = self.yt.get_watch_playlist(sample_video)
|
playlist = self.yt.get_watch_playlist(sample_video)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue