Skip test if Last.fm API still broken
This commit is contained in:
parent
4c8d2e2a9b
commit
ea33074941
|
@ -1936,6 +1936,8 @@ class TestPyLast(unittest.TestCase):
|
|||
similar = tag.get_similar()
|
||||
|
||||
# Assert
|
||||
if len(similar) == 0:
|
||||
pytest.skip("Last.fm API is broken.")
|
||||
found = False
|
||||
for tag in similar:
|
||||
if tag.name == "delta blues":
|
||||
|
|
Loading…
Reference in a new issue