aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_YoutubeDL.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-09-01 16:49:03 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-09-01 16:49:03 +0530
commitd2c8aadf799a63aaa7da81ae03052b1ec2addd20 (patch)
treeb6c1e217d7098bea54c4de65ba0615c6ef93936f /test/test_YoutubeDL.py
parent1ac7f461845b3f9c0c3a2e6a1308bf82d3e8e55a (diff)
downloadhypervideo-pre-d2c8aadf799a63aaa7da81ae03052b1ec2addd20.tar.lz
hypervideo-pre-d2c8aadf799a63aaa7da81ae03052b1ec2addd20.tar.xz
hypervideo-pre-d2c8aadf799a63aaa7da81ae03052b1ec2addd20.zip
[cleanup] Misc
Closes #4710, Closes #4754, Closes #4723 Authored by: pukkandan, MrRawes, DavidH-2022
Diffstat (limited to 'test/test_YoutubeDL.py')
-rw-r--r--test/test_YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index 49dc2c198..426e52305 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -668,7 +668,7 @@ class TestYoutubeDL(unittest.TestCase):
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)