Fix test
This commit is contained in:
parent
dec407d958
commit
afbafe1e76
|
@ -110,13 +110,13 @@ class TestPyLastTrack(TestPyLastWithLastFm):
|
||||||
|
|
||||||
def test_track_get_duration(self) -> None:
|
def test_track_get_duration(self) -> None:
|
||||||
# Arrange
|
# Arrange
|
||||||
track = pylast.Track("Cher", "Believe", self.network)
|
track = pylast.Track("Radiohead", "Creep", self.network)
|
||||||
|
|
||||||
# Act
|
# Act
|
||||||
duration = track.get_duration()
|
duration = track.get_duration()
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
assert duration >= 200000
|
assert duration >= 100000
|
||||||
|
|
||||||
def test_track_get_album(self) -> None:
|
def test_track_get_album(self) -> None:
|
||||||
# Arrange
|
# Arrange
|
||||||
|
|
Loading…
Reference in a new issue