Beispiel #1
0
 def test_from_playlist(self):
     p = mock_playlist("foo", [])
     l = Link.from_playlist(p)
     self.assertEqual(str(l), "link:playlist:foo")
Beispiel #2
0
 def test_from_playlist(self):
     l = Link.from_playlist(self.playlist)
     self.assertEqual(str(l), "spotify:playlist:test_playlist")
Beispiel #3
0
 def test_from_playlist(self):
     p = mock_playlist("foo", [])
     l = Link.from_playlist(p)
     self.assertEqual(str(l), "link:playlist:foo")