]> git.bitcoin.ninja Git - youtube-dl/commitdiff
test_youtube_subtitles: FakeDownloader inherits form FileDownloader
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 10 May 2013 06:31:30 +0000 (08:31 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 10 May 2013 06:31:30 +0000 (08:31 +0200)
test/test_youtube_subtitles.py

index 5b3f289afeebbca005c34535a61f3fa64177465e..1ab09d78b5486c78d473c86dcc5a8202c850be00 100644 (file)
@@ -24,7 +24,7 @@ proxy_handler = compat_urllib_request.ProxyHandler()
 opener = compat_urllib_request.build_opener(proxy_handler, cookie_processor, YoutubeDLHandler())
 compat_urllib_request.install_opener(opener)
 
-class FakeDownloader(object):
+class FakeDownloader(FileDownloader):
     def __init__(self):
         self.result = []
         self.params = parameters