]> jfr.im git - yt-dlp.git/blobdiff - test/helper.py
Completely change project name to yt-dlp (#85)
[yt-dlp.git] / test / helper.py
index e62aab11e777cca955bb8a7a2149d7216430dbca..963c40508773424bc1d223eca999e9b60dee76ff 100644 (file)
 import ssl
 import sys
 
-import youtube_dl.extractor
-from youtube_dl import YoutubeDL
-from youtube_dl.compat import (
+import yt_dlp.extractor
+from yt_dlp import YoutubeDL
+from yt_dlp.compat import (
     compat_os_name,
     compat_str,
 )
-from youtube_dl.utils import (
+from yt_dlp.utils import (
     preferredencoding,
     write_string,
 )
@@ -90,7 +90,7 @@ def report_warning(self, message):
 
 
 def gettestcases(include_onlymatching=False):
-    for ie in youtube_dl.extractor.gen_extractors():
+    for ie in yt_dlp.extractor.gen_extractors():
         for tc in ie.get_testcases(include_onlymatching):
             yield tc