For some reason the earlier track is returning duration=0
This commit is contained in:
parent
95c8b16564
commit
b0f2f5fe13
|
@ -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