def test_youtube_title(): global content global title expect_title = "Tony's Videos VERY SHORT VIDEO 28.10.2016" content = spotdl.go_pafy(raw_song, meta_tags=None) title = spotdl.get_youtube_title(content) assert title == expect_title
def test_youtube_title(): expect_title = "Tony's Videos VERY SHORT VIDEO 28.10.2016" global content content = spotdl.go_pafy(raw_song) global title title = spotdl.get_youtube_title(content) assert title == expect_title
def youtube_title(): expect_title = 'Intro - David André Østby' content = spotdl.go_pafy(raw_song) title = spotdl.get_youtube_title(content) print(title) assert title == expect_title