Example #1
0
 def test_from_artist(self):
     a = mock_artist("artist", 1)
     l = Link.from_artist(a)
     self.assertEqual(str(l), "link:artist:artist")
Example #2
0
 def test_from_artist(self):
     l = Link.from_artist(self.artist)
     self.assertEqual(str(l), "spotify:artist:test_artist")
Example #3
0
 def test_from_artist(self):
     a = mock_artist("artist", 1)
     l = Link.from_artist(a)
     self.assertEqual(str(l), "link:artist:artist")