For some reason the earlier track is returning duration=0
This commit is contained in:
parent
c1a8a9455f
commit
2478980ca5
|
@ -110,7 +110,7 @@ class TestPyLastTrack(TestPyLastWithLastFm):
|
||||||
|
|
||||||
def test_track_get_duration(self):
|
def test_track_get_duration(self):
|
||||||
# Arrange
|
# Arrange
|
||||||
track = pylast.Track("Nirvana", "Lithium", self.network)
|
track = pylast.Track("Cher", "Believe", self.network)
|
||||||
|
|
||||||
# Act
|
# Act
|
||||||
duration = track.get_duration()
|
duration = track.get_duration()
|
||||||
|
|
Loading…
Reference in a new issue