Remove dead Last.fm tag.getSimilar
This commit is contained in:
parent
c0a25fbabe
commit
00b6c0a619
2 changed files with 0 additions and 28 deletions
|
@ -58,22 +58,6 @@ class TestPyLastTag(PyLastTestCase):
|
|||
self.assertTrue(tag1 != tag2)
|
||||
self.assertEqual(url, "https://www.last.fm/tag/blues")
|
||||
|
||||
def test_tags_similar(self):
|
||||
# Arrange
|
||||
tag = self.network.get_tag("blues")
|
||||
|
||||
# Act
|
||||
similar = tag.get_similar()
|
||||
|
||||
# Assert
|
||||
self.skip_if_lastfm_api_broken(similar)
|
||||
found = False
|
||||
for tag in similar:
|
||||
if tag.name == "delta blues":
|
||||
found = True
|
||||
break
|
||||
self.assertTrue(found)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main(failfast=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue