[tests] Don't auto init YoutubeDL
[youtube-dl] / test / helper.py
index fb8618120dcbbcdcfe6d576442e5bea189cb2521..325f72f0a35c5c4fe6ac3a1464858b200c152aad 100644 (file)
@@ -57,7 +57,7 @@ class FakeYDL(YoutubeDL):
         # Different instances of the downloader can't share the same dictionary
         # some test set the "sublang" parameter, which would break the md5 checks.
         params = get_params(override=override)
-        super(FakeYDL, self).__init__(params)
+        super(FakeYDL, self).__init__(params, auto_init=False)
         self.result = []
         
     def to_screen(self, s, skip_eol=None):