]> jfr.im git - yt-dlp.git/commitdiff
[tests] Fix test_post_hooks
authorpukkandan <redacted>
Wed, 20 Jan 2021 22:08:04 +0000 (03:38 +0530)
committerpukkandan <redacted>
Wed, 20 Jan 2021 22:08:57 +0000 (03:38 +0530)
:skip ci all

test/test_post_hooks.py

index d8d2b36c311ec18ea283355cc34a5cd043155135..63500924e9a3500c5b6fc673f51011b634bbb555 100644 (file)
@@ -8,11 +8,11 @@
 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 
 from test.helper import get_params, try_rm
-import youtube_dl.YoutubeDL
-from youtube_dl.utils import DownloadError
+import youtube_dlc.YoutubeDL
+from youtube_dlc.utils import DownloadError
 
 
-class YoutubeDL(youtube_dl.YoutubeDL):
+class YoutubeDL(youtube_dlc.YoutubeDL):
     def __init__(self, *args, **kwargs):
         super(YoutubeDL, self).__init__(*args, **kwargs)
         self.to_stderr = self.to_screen