aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIsmael Mejia <iemejia@gmail.com>2013-02-21 20:51:35 +0100
committerIsmael Mejia <iemejia@gmail.com>2013-02-21 20:51:35 +0100
commit2e5d60b7db7020b726cd54ee4cad8f2afbd1479d (patch)
tree1c5d20b9adcbd5dc14d2607e4c779c7be04acf4a /test
parent8271226a55bd3daa7eddfe2efc243892de02ccf4 (diff)
Removed conversion from youtube closed caption format to srt since youtube api supports the 'srt' format
Diffstat (limited to 'test')
-rw-r--r--test/test_youtube_subtitles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_youtube_subtitles.py b/test/test_youtube_subtitles.py
index 5d3566a35..ff09ea459 100644
--- a/test/test_youtube_subtitles.py
+++ b/test/test_youtube_subtitles.py
@@ -43,7 +43,7 @@ class TestYoutubeSubtitles(unittest.TestCase):
DL.params['writesubtitles'] = True
IE = YoutubeIE(DL)
info_dict = IE.extract('QRS8MkLhQmM')
- self.assertEqual(md5(info_dict[0]['subtitles']), 'c3228550d59116f3c29fba370b55d033')
+ self.assertEqual(md5(info_dict[0]['subtitles']), '4cd9278a35ba2305f47354ee13472260')
def test_youtube_subtitles_it(self):
DL = FakeDownloader()
@@ -51,7 +51,7 @@ class TestYoutubeSubtitles(unittest.TestCase):
DL.params['subtitleslang'] = 'it'
IE = YoutubeIE(DL)
info_dict = IE.extract('QRS8MkLhQmM')
- self.assertEqual(md5(info_dict[0]['subtitles']), '132a88a0daf8e1520f393eb58f1f646a')
+ self.assertEqual(md5(info_dict[0]['subtitles']), '164a51f16f260476a05b50fe4c2f161d')
if __name__ == '__main__':
unittest.main()