From a355b70f271c5eac7e3b0ad3f5381c0757a88e96 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Fri, 4 Apr 2014 23:16:20 +0200 Subject: [PATCH] [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. --- test/test_playlists.py | 1 - 1 file changed, 1 deletion(-) 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) -- 2.22.2