File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121import tidalapi
2222from tidalapi .exceptions import ObjectNotFound
23+ from tidalapi .mix import MixType
2324
2425from .cover import verify_image_cover
2526
@@ -144,6 +145,9 @@ def test_get_radio_mix(session):
144145 artist = session .artist (3514310 )
145146 radio = artist .get_radio_mix ()
146147 assert radio .id == "000038b3b74d5ce3a17b43a36d62bb"
148+ assert radio .title == "The Turtles"
149+ assert radio .sub_title == "Artist Radio"
150+ assert radio .mix_type == MixType .artist
147151
148152
149153def test_artist_image (session ):
Original file line number Diff line number Diff line change 3131 MimeType ,
3232 Quality ,
3333)
34+ from tidalapi .mix import MixType
3435
3536from .cover import verify_image_resolution , verify_video_resolution
3637
@@ -452,6 +453,9 @@ def test_get_radio_mix(session):
452453 track = session .track (12445712 )
453454 radio = track .get_radio_mix ()
454455 assert radio .id == "001c2cbc32b5b7c17f8c0aa55d9541"
456+ assert radio .title == "Happy Together"
457+ assert radio .sub_title == "The Turtles"
458+ assert radio .mix_type == MixType .track
455459
456460
457461def test_get_stream_bts (session ):
You can’t perform that action at this time.
0 commit comments