From d248f1418bff82a3fe80cfdab9cada33d1a585ed Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Thu, 17 Mar 2022 12:57:25 -0700 Subject: [PATCH] Fix test track ratingCount attribute (#898) --- tests/test_audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_audio.py b/tests/test_audio.py index 7e67ee97..46ad6e4b 100644 --- a/tests/test_audio.py +++ b/tests/test_audio.py @@ -298,7 +298,7 @@ def test_audio_Track_attrs(album): assert track.parentTitle == "Layers" assert track.playlistItemID is None assert track.primaryExtraKey is None - assert utils.is_int(track.ratingCount) or track.ratingCount is None + assert track.ratingCount is None or utils.is_int(track.ratingCount) assert utils.is_int(track.ratingKey) assert track._server._baseurl == utils.SERVER_BASEURL assert track.sessionKey is None