[nrk] Update subtitles test
authorYen Chi Hsuan <yan12125@gmail.com>
Wed, 27 May 2015 07:23:34 +0000 (15:23 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Wed, 27 May 2015 07:23:34 +0000 (15:23 +0800)
Subtitle conversion routine is removed, so the subtitles are TTML now. See
1c7e2e64f6328024711d5fa999d4498396f4cb5c

test/test_subtitles.py

index 891ee620b1f2627dd6991e0cccfbc58b59fb6a95..c4e3adb67b7d1034b36cdd3c45969fe321351c64 100644 (file)
@@ -266,7 +266,7 @@ class TestNRKSubtitles(BaseTestSubtitles):
         self.DL.params['allsubtitles'] = True
         subtitles = self.getSubtitles()
         self.assertEqual(set(subtitles.keys()), set(['no']))
-        self.assertEqual(md5(subtitles['no']), '1d221e6458c95c5494dcd38e6a1f129a')
+        self.assertEqual(md5(subtitles['no']), '544fa917d3197fcbee64634559221cc2')
 
 
 class TestRaiSubtitles(BaseTestSubtitles):