Skip to content

Commit

Permalink
Fix misc broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tehkillerbee committed Sep 11, 2024
1 parent b0d8edb commit 9f2aa4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions tests/test_artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def test_get_albums(session):
session.album(17927863),
session.album(36292296),
session.album(17925106),
session.album(17782044),
session.album(17926279),
]

Expand Down Expand Up @@ -93,7 +92,6 @@ def test_get_top_tracks(session):
session.track(17927865),
session.track(17927867),
session.track(17926280),
session.track(17782052),
session.track(17927869),
]

Expand Down
2 changes: 1 addition & 1 deletion tests/test_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def test_full_name_track_3(session):
def test_track_media_metadata_tags(session):
track = session.track(182912246)
assert track.name == "All You Ever Wanted"
assert track.media_metadata_tags == ["LOSSLESS", "HIRES_LOSSLESS", "MQA"]
assert track.media_metadata_tags == ["LOSSLESS", "HIRES_LOSSLESS"]


def test_get_track_radio_limit_default(session):
Expand Down
4 changes: 2 additions & 2 deletions tests/test_playlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,13 @@ def test_video_playlist(session):
)
assert playlist.duration == 1996
assert playlist.last_updated == datetime.datetime(
2020, 3, 25, 8, 5, 33, 115000, tzinfo=tz.tzutc()
2024, 8, 14, 16, 26, 58, 898000, tzinfo=tz.tzutc()
)
assert playlist.created == datetime.datetime(
2017, 1, 23, 18, 34, 56, 930000, tzinfo=tz.tzutc()
)
assert playlist.type == "EDITORIAL"
assert playlist.public is True
assert playlist.public is False
assert playlist.promoted_artists[0].name == "Sundance Film Festival"

creator = playlist.creator
Expand Down

0 comments on commit 9f2aa4c

Please sign in to comment.