]> jfr.im git - yt-dlp.git/blobdiff - test/test_youtube_chapters.py
[FormatSort] fix bug where `quality` had more priority than `hasvid`
[yt-dlp.git] / test / test_youtube_chapters.py
index 324ca852578531757d9964f2c90cf6f8e1c4d3b1..4529d2e84d0e5f5f427f2078f0de782002c611b6 100644 (file)
@@ -9,7 +9,7 @@
 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 
 from test.helper import expect_value
-from youtube_dl.extractor import YoutubeIE
+from youtube_dlc.extractor import YoutubeIE
 
 
 class TestYoutubeChapters(unittest.TestCase):
@@ -267,7 +267,7 @@ 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)