1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-30 18:34:36 +01: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 @@ class TestNRKSubtitles(BaseTestSubtitles):
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):