0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

[nrk] Update subtitles test

Subtitle conversion routine is removed, so the subtitles are TTML now. See
1c7e2e64f6
This commit is contained in:
Yen Chi Hsuan 2015-05-27 15:23:34 +08:00
parent f9f3e3df9a
commit f0bfaa2d7d

View file

@ -266,7 +266,7 @@ def test_allsubtitles(self):
self.DL.params['allsubtitles'] = True self.DL.params['allsubtitles'] = True
subtitles = self.getSubtitles() subtitles = self.getSubtitles()
self.assertEqual(set(subtitles.keys()), set(['no'])) self.assertEqual(set(subtitles.keys()), set(['no']))
self.assertEqual(md5(subtitles['no']), '1d221e6458c95c5494dcd38e6a1f129a') self.assertEqual(md5(subtitles['no']), '544fa917d3197fcbee64634559221cc2')
class TestRaiSubtitles(BaseTestSubtitles): class TestRaiSubtitles(BaseTestSubtitles):