diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-09-16 03:32:53 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-09-16 03:32:53 +0200 |
commit | ef66b0c6effb9d8741807abb12b059560c97c8da (patch) | |
tree | 8230663fc475477863b78884078bba918a1edea4 /test/test_youtube_subtitles.py | |
parent | 22b50ecb2f7f9e0469d281a4c401d4a531c1cc5b (diff) | |
parent | 5a6fecc3dee35f95f3590a31e51670819db5a1fe (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'test/test_youtube_subtitles.py')
-rw-r--r-- | test/test_youtube_subtitles.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_youtube_subtitles.py b/test/test_youtube_subtitles.py index 5632871ac..168e6c66c 100644 --- a/test/test_youtube_subtitles.py +++ b/test/test_youtube_subtitles.py @@ -41,6 +41,7 @@ class TestYoutubeSubtitles(unittest.TestCase): subtitles = self.getSubtitles() self.assertEqual(md5(subtitles['it']), '164a51f16f260476a05b50fe4c2f161d') def test_youtube_allsubtitles(self): + self.DL.params['writesubtitles'] = True self.DL.params['allsubtitles'] = True subtitles = self.getSubtitles() self.assertEqual(len(subtitles.keys()), 13) @@ -66,6 +67,7 @@ class TestYoutubeSubtitles(unittest.TestCase): self.assertTrue(subtitles['it'] is not None) def test_youtube_nosubtitles(self): self.url = 'sAjKT8FhjI8' + self.DL.params['writesubtitles'] = True self.DL.params['allsubtitles'] = True subtitles = self.getSubtitles() self.assertEqual(len(subtitles), 0) |