From 15767e500a4885701b4695956b46a9b2467b3e19 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Fri, 23 Apr 2021 13:59:02 -0700 Subject: [PATCH] Add new collection attributes to tests --- tests/test_collection.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_collection.py b/tests/test_collection.py index dbb0d64f..77815a6c 100644 --- a/tests/test_collection.py +++ b/tests/test_collection.py @@ -12,7 +12,9 @@ def test_Collection_attrs(collection): assert collection.artBlurHash is None assert collection.childCount == 1 assert collection.collectionMode == -1 + assert collection.collectionPublished is False assert collection.collectionSort == 0 + assert collection.content is None assert collection.contentRating assert not collection.fields assert collection.guid.startswith("collection://") @@ -24,7 +26,9 @@ def test_Collection_attrs(collection): assert collection.librarySectionTitle == "Movies" assert utils.is_int(collection.maxYear) assert utils.is_int(collection.minYear) + assert utils.is_int(collection.ratingCount) assert utils.is_int(collection.ratingKey) + assert collection.smart is False assert collection.subtype == "movie" assert collection.summary == "" assert collection.thumb.startswith("/library/collections/%s/composite" % collection.ratingKey)