[scrobblers] Fixes test with wiggly second
This commit is contained in:
@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user