This commit is contained in:
Hugo van Kemenade 2022-05-02 15:06:07 +03:00
parent dec407d958
commit afbafe1e76

View file

@ -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