Skip to content

Commit

Permalink
Fix misc tests broken by Tidal
Browse files Browse the repository at this point in the history
  • Loading branch information
tehkillerbee committed Feb 13, 2024
1 parent 37e4ede commit bb52b09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_track(session):
assert track.version is None
assert (
track.copyright
== "(P) 2019 MER under exclusive license to Sony Music Entertainment Sweden AB"
== "(P) 2019 Kreatell Music under exclusive license to Sony Music Entertainment Sweden AB"
)
assert track.isrc == "NOG841907010"
assert track.explicit is False
Expand Down
4 changes: 2 additions & 2 deletions tests/test_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def test_get_explore_items(session):
genres = explore.categories[1].show_more()
iterator = iter(genres)
next(iterator)
assert next(iterator).title == "Africa"
assert next(iterator).title == "Blues"
assert next(iterator).title == "Classical"


def test_for_you(session):
Expand Down Expand Up @@ -97,7 +97,7 @@ def test_page_links(session):
def test_genres(session):
genres = session.genres()
first = next(iter(genres))
assert first.title == "Africa"
assert first.title == "Blues"
assert isinstance(next(iter(first.get())), tidalapi.Playlist)

# NOTE local genres seems broken, and the first entry is no longer available
Expand Down

0 comments on commit bb52b09

Please sign in to comment.