tests/test_tv_lookup: Fix test_find_episode test
MODIFY
tests/test_tv_lookup.py
tests/test_tv_lookup.py
@@ -95,11 +95,7 @@ def test_tv_lookup_by_episode_id():
def test_find_episode():
- tm = make(
- cls="TVShow",
- # trakt=4965066,
- trakt=176447,
- )
+ show = TVShow("Frank of Ireland")
pe = PlexLibraryItem(
make(
@@ -112,7 +108,7 @@ def test_find_episode():
)
guid = pe.guids[0]
- lookup = trakt.lookup(tm)
+ lookup = TraktLookup(show)
te = trakt.find_episode_guid(guid, lookup)
assert te.season == 1
assert te.episode == 1

tests/test_tv_lookup: Fix test_find_episode test