From b41c5bc85aad44eb29e0192a141a5e6fbfe6e4f2 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sun, 3 Feb 2019 14:39:21 +0200 Subject: [PATCH] Add a delay to allow Last.fm to update unloves --- tests/test_track.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_track.py b/tests/test_track.py index 274d495..9c1b898 100755 --- a/tests/test_track.py +++ b/tests/test_track.py @@ -20,7 +20,6 @@ class TestPyLastTrack(TestPyLastWithLastFm): # Act track.love() - time.sleep(1) # Delay, for Last.fm latency. TODO Can this be removed later? # Assert loved = lastfm_user.get_loved_tracks(limit=1) @@ -38,6 +37,7 @@ class TestPyLastTrack(TestPyLastWithLastFm): # Act track.unlove() + time.sleep(1) # Delay, for Last.fm latency. TODO Can this be removed later? # Assert loved = lastfm_user.get_loved_tracks(limit=1)