]> jfr.im git - yt-dlp.git/blobdiff - test/test_YoutubeDL.py
[cleanup] Misc
[yt-dlp.git] / test / test_YoutubeDL.py
index 49dc2c198c9ccf6386cf9223a15cd54fb07192be..426e52305d72f6751c786b6bbf7a703317e8c34f 100644 (file)
@@ -668,7 +668,7 @@ def test_add_extra_info(self):
     def test_prepare_outtmpl_and_filename(self):
         def test(tmpl, expected, *, info=None, **params):
             params['outtmpl'] = tmpl
-            ydl = YoutubeDL(params)
+            ydl = FakeYDL(params)
             ydl._num_downloads = 1
             self.assertEqual(ydl.validate_outtmpl(tmpl), None)