Skip to content

Commit

Permalink
Test UltraBlurColors
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyWong16 committed Aug 3, 2024
1 parent 3f08237 commit b99becd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def test_audio_Artist_attr(artist):
assert artist.title == "Broke For Free"
assert artist.titleSort == "Broke For Free"
assert artist.type == "artist"
assert artist.ultraBlurColors is not None
assert utils.is_datetime(artist.updatedAt)
assert utils.is_int(artist.viewCount, gte=0)

Expand Down Expand Up @@ -180,6 +181,7 @@ def test_audio_Album_attrs(album):
assert album.title == "Layers"
assert album.titleSort == "Layers"
assert album.type == "album"
assert album.ultraBlurColors is not None
assert utils.is_datetime(album.updatedAt)
assert utils.is_int(album.viewCount, gte=0)
assert album.year in (2012,)
Expand Down
1 change: 1 addition & 0 deletions tests/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def test_Collection_attrs(collection):
assert collection.title == "Test Collection"
assert collection.titleSort == collection.title
assert collection.type == "collection"
assert collection.ultraBlurColors is not None
assert utils.is_datetime(collection.updatedAt)
assert collection.listType == "video"
assert collection.metadataType == collection.subtype
Expand Down
4 changes: 4 additions & 0 deletions tests/test_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def test_video_Movie_attrs(movies):
assert movie.title == "Sita Sings the Blues"
assert movie.titleSort == "Sita Sings the Blues"
assert movie.type == "movie"
assert movie.ultraBlurColors is not None
assert movie.updatedAt > datetime(2017, 1, 1)
assert movie.useOriginalTitle == -1
assert movie.userRating is None
Expand Down Expand Up @@ -815,6 +816,7 @@ def test_video_Show_attrs(show):
assert show.title == "Game of Thrones"
assert show.titleSort == "Game of Thrones"
assert show.type == "show"
assert show.ultraBlurColors is not None
assert show.useOriginalTitle == -1
assert show.userRating is None
assert utils.is_datetime(show.updatedAt)
Expand Down Expand Up @@ -1042,6 +1044,7 @@ def test_video_Season_attrs(show):
assert season.title == "Season 1"
assert season.titleSort == "Season 1"
assert season.type == "season"
assert season.ultraBlurColors is not None
assert utils.is_datetime(season.updatedAt)
assert utils.is_int(season.viewCount, gte=0)
assert utils.is_int(season.viewedLeafCount, gte=0)
Expand Down Expand Up @@ -1245,6 +1248,7 @@ def test_video_Episode_attrs(episode):
assert episode.title == "Winter Is Coming"
assert episode.titleSort == "Winter Is Coming"
assert episode.type == "episode"
assert episode.ultraBlurColors is not None
assert utils.is_datetime(episode.updatedAt)
assert episode.userRating is None
assert utils.is_int(episode.viewCount, gte=0)
Expand Down

0 comments on commit b99becd

Please sign in to comment.