Skip to content

Commit

Permalink
Test trakt property
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Mar 8, 2024
1 parent 9d18e21 commit 5443269
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ def test_public_list():
# enumerate list items
instancetypes = (Movie, TVShow, TVSeason, TVEpisode)
assert all([isinstance(k.item, instancetypes) for k in l])

# trakt id is a number
assert all([isinstance(k.trakt, int) for k in l])

0 comments on commit 5443269

Please sign in to comment.