Skip to content

Commit

Permalink
Add PublicList tests
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Mar 8, 2024
1 parent b560cd5 commit d5d8d89
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_lists.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
from trakt.users import PublicList


def test_public_list():
trakt_id = 1248149
l = PublicList.load(trakt_id)

assert isinstance(l, PublicList)
assert l.name == "MARVEL Cinematic Universe"
assert l.privacy == "public"
assert l.share_link == "https://trakt.tv/lists/1248149"

0 comments on commit d5d8d89

Please sign in to comment.