test_get_userplaycount now passes
This commit is contained in:
parent
1841fb66dc
commit
3ffe7cf65a
1 changed files with 1 additions and 2 deletions
|
@ -268,7 +268,6 @@ class TestPyLastArtist(TestPyLastWithLastFm):
|
||||||
# Assert
|
# Assert
|
||||||
assert corrected_artist_name == "Guns N' Roses"
|
assert corrected_artist_name == "Guns N' Roses"
|
||||||
|
|
||||||
@pytest.mark.xfail
|
|
||||||
def test_get_userplaycount(self):
|
def test_get_userplaycount(self):
|
||||||
# Arrange
|
# Arrange
|
||||||
artist = pylast.Artist("John Lennon", self.network, username=self.username)
|
artist = pylast.Artist("John Lennon", self.network, username=self.username)
|
||||||
|
@ -277,4 +276,4 @@ class TestPyLastArtist(TestPyLastWithLastFm):
|
||||||
playcount = artist.get_userplaycount()
|
playcount = artist.get_userplaycount()
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
assert playcount >= 0 # whilst xfail: # pragma: no cover
|
assert playcount >= 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue