Fix test: now returns a png
This commit is contained in:
parent
0f59831dc2
commit
1c669d8bb0
|
@ -94,8 +94,8 @@ class TestPyLastAlbum(TestPyLastWithLastFm):
|
||||||
image = album.get_cover_image()
|
image = album.get_cover_image()
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
self.assert_startswith(image, "https://")
|
assert image.startswith("https://")
|
||||||
self.assert_endswith(image, ".gif")
|
assert image.endswith(".gif") or image.endswith(".png")
|
||||||
|
|
||||||
def test_mbid(self) -> None:
|
def test_mbid(self) -> None:
|
||||||
# Arrange
|
# Arrange
|
||||||
|
|
Loading…
Reference in a new issue