From: Philipp Hagemeister Date: Fri, 4 Apr 2014 21:16:20 +0000 (+0200) Subject: [cspan] Do not test number of playlist entries X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=a355b70f271c5eac7e3b0ad3f5381c0757a88e96;p=youtube-dl [cspan] Do not test number of playlist entries Apparently, CSpan switches between single-file and multiple-file results. Either one is fine as long as we get the full four hours. --- diff --git a/test/test_playlists.py b/test/test_playlists.py index 5fb679aa1..75c6a6bbb 100644 --- a/test/test_playlists.py +++ b/test/test_playlists.py @@ -324,7 +324,6 @@ class TestPlaylists(unittest.TestCase): self.assertEqual(result['id'], '342759') self.assertEqual( result['title'], 'General Motors Ignition Switch Recall') - self.assertEqual(len(result['entries']), 9) whole_duration = sum(e['duration'] for e in result['entries']) self.assertEqual(whole_duration, 14855)