Fix unit tests for latest yt-dlp

(Yt-dlp title is now truncated)
This commit is contained in:
Patrick Robertson
2025-03-24 17:48:15 +04:00
parent beb7f3893d
commit a9fe959ea1
2 changed files with 3 additions and 3 deletions

View File

@@ -25,5 +25,5 @@ class TestExtractorBase(object):
else:
assert status == test_response.status
assert title == test_response.get_title()
assert timestamp, test_response.get("timestamp")
assert title in test_response.get_title()
assert timestamp == test_response.get("timestamp")