Fix test track ratingCount attribute (#898)

This commit is contained in:
JonnyWong16 2022-03-17 12:57:25 -07:00 committed by GitHub
parent c5cb3dfd7c
commit d248f1418b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,7 +298,7 @@ def test_audio_Track_attrs(album):
assert track.parentTitle == "Layers" assert track.parentTitle == "Layers"
assert track.playlistItemID is None assert track.playlistItemID is None
assert track.primaryExtraKey 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 utils.is_int(track.ratingKey)
assert track._server._baseurl == utils.SERVER_BASEURL assert track._server._baseurl == utils.SERVER_BASEURL
assert track.sessionKey is None assert track.sessionKey is None