diff options
| author | Philipp Hagemeister <phihag@phihag.de> | 2013-04-30 18:48:45 +0200 | 
|---|---|---|
| committer | Philipp Hagemeister <phihag@phihag.de> | 2013-04-30 19:42:13 +0200 | 
| commit | 8749b7127391948f9a71148c5ae00adcfbb24a33 (patch) | |
| tree | 945602f3670e15280018394dcf0a8a1410706478 /test | |
| parent | dbc50fdf82610abecc5fb9ab40817534f0dae972 (diff) | |
Fix FakeDownloaders
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_youtube_lists.py | 2 | ||||
| -rw-r--r-- | test/test_youtube_subtitles.py | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py index 3722ff5ba..78657b51c 100644 --- a/test/test_youtube_lists.py +++ b/test/test_youtube_lists.py @@ -29,7 +29,7 @@ class FakeDownloader(FileDownloader):          self.params = parameters      def to_screen(self, s):          print(s) -    def trouble(self, s): +    def trouble(self, s, tb=None):          raise Exception(s)      def extract_info(self, url):          self.result.append(url) diff --git a/test/test_youtube_subtitles.py b/test/test_youtube_subtitles.py index b4909091b..5b3f289af 100644 --- a/test/test_youtube_subtitles.py +++ b/test/test_youtube_subtitles.py @@ -30,7 +30,7 @@ class FakeDownloader(object):          self.params = parameters      def to_screen(self, s):          print(s) -    def trouble(self, s): +    def trouble(self, s, tb=None):          raise Exception(s)      def download(self, x):          self.result.append(x)  | 
