From 3ffe7cf65ac4336322958367d284f158c0c6c104 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 24 Jan 2022 22:26:16 +0200 Subject: [PATCH] test_get_userplaycount now passes --- tests/test_artist.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_artist.py b/tests/test_artist.py index 463af69..8cc4f85 100755 --- a/tests/test_artist.py +++ b/tests/test_artist.py @@ -268,7 +268,6 @@ class TestPyLastArtist(TestPyLastWithLastFm): # Assert assert corrected_artist_name == "Guns N' Roses" - @pytest.mark.xfail def test_get_userplaycount(self): # Arrange artist = pylast.Artist("John Lennon", self.network, username=self.username) @@ -277,4 +276,4 @@ class TestPyLastArtist(TestPyLastWithLastFm): playcount = artist.get_userplaycount() # Assert - assert playcount >= 0 # whilst xfail: # pragma: no cover + assert playcount >= 0