[video] Update how we get video metadata for YT add
This commit is contained in:
8
tests/videos_tests/test_youtube.py
Normal file
8
tests/videos_tests/test_youtube.py
Normal file
@ -0,0 +1,8 @@
|
||||
import pytest
|
||||
from videos.sources.youtube import lookup_video_from_youtube
|
||||
|
||||
|
||||
@pytest.mark.django_db
|
||||
def test_lookup_youtube_id():
|
||||
metadata = lookup_video_from_youtube("RZxs9pAv99Y")
|
||||
assert metadata.title == "No Pun Included's Board Game of the Year 2024"
|
||||
Reference in New Issue
Block a user