[tests] Fix IMDB test and bump reqs

This commit is contained in:
2025-11-17 20:09:34 -05:00
parent 8c865fe008
commit 3851624dd7
2 changed files with 50 additions and 39 deletions

View File

@ -1,6 +1,10 @@
from videos.sources.imdb import lookup_video_from_imdb
def test_lookup_imdb():
def test_lookup_imdb_without_tt():
metadata = lookup_video_from_imdb("8946378")
print(metadata.__dict__)
assert not metadata.imdb_id
def test_lookup_imdb_with_tt():
metadata = lookup_video_from_imdb("tt8946378")
assert metadata.title == "Knives Out"