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()
|
similar = tag.get_similar()
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
|
if len(similar) == 0:
|
||||||
|
pytest.skip("Last.fm API is broken.")
|
||||||
found = False
|
found = False
|
||||||
for tag in similar:
|
for tag in similar:
|
||||||
if tag.name == "delta blues":
|
if tag.name == "delta blues":
|
||||||
|
|
Loading…
Reference in a new issue