X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/532a08904ffbacc5e5ccf99edb660c5f37ddb213..0626de37fa3331c654d4affae363132a0d766ffb:/test/test_youtube_chapters.py?ds=sidebyside
diff --git a/test/test_youtube_chapters.py b/test/test_youtube_chapters.py
index cb12f83..e69c573 100644
--- a/test/test_youtube_chapters.py
+++ b/test/test_youtube_chapters.py
@@ -254,13 +254,20 @@ class TestYoutubeChapters(unittest.TestCase):
'title': '3 - Ðз ÑеÑпов лÑнÑ...[Iz serpov luny]',
}]
),
+ (
+ # https://www.youtube.com/watch?v=xZW70zEasOk
+ # time point more than duration
+ '''â LCS Spring finals: Saturday and Sunday from 13:30 outside the venue!
â PAX East: Fri, Sat & Sun - more info in tomorrows video on the main channel!''',
+ 283,
+ []
+ ),
]
def test_youtube_chapters(self):
for description, duration, expected_chapters in self._TEST_CASES:
ie = YoutubeIE()
expect_value(
- self, ie._extract_chapters(description, duration),
+ self, ie._extract_chapters_from_description(description, duration),
expected_chapters, None)