From 0bb874f1db35b4f3da5797b8805ab722d254c8ba Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 7 Apr 2025 00:12:29 -0400 Subject: [PATCH] [scrobblers] Fixes test with wiggly second --- tests/scrobbles_tests/test_views.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/scrobbles_tests/test_views.py b/tests/scrobbles_tests/test_views.py index c65f29b..5feb5a9 100644 --- a/tests/scrobbles_tests/test_views.py +++ b/tests/scrobbles_tests/test_views.py @@ -111,7 +111,9 @@ def test_scrobble_mopidy_same_track_different_album( assert scrobble.media_obj.title == "Same in the End" -@pytest.mark.skip("Need to add a mock podcast request data, tho Google Podcasts is gone :thinking:") +@pytest.mark.skip( + "Need to add a mock podcast request data, tho Google Podcasts is gone :thinking:" +) @pytest.mark.django_db def test_scrobble_mopidy_podcast( client, mopidy_podcast_request_data, valid_auth_token @@ -193,7 +195,7 @@ def test_scrobble_jellyfin_track( assert scrobble.media_obj.__class__ == Track assert scrobble.media_obj.title == "Emotion" - with time_machine.travel(datetime(2024, 1, 14, 12, 1, 1)): + with time_machine.travel(datetime(2024, 1, 14, 12, 1, 4)): jellyfin_track.request_data["UtcTimestamp"] = timezone.now().strftime( "%Y-%m-%d %H:%M:%S" )