[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.
This commit is contained in:
parent
f8514f6186
commit
a355b70f27
1 changed files with 0 additions and 1 deletions
|
@ -324,7 +324,6 @@ class TestPlaylists(unittest.TestCase):
|
||||||
self.assertEqual(result['id'], '342759')
|
self.assertEqual(result['id'], '342759')
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
result['title'], 'General Motors Ignition Switch Recall')
|
result['title'], 'General Motors Ignition Switch Recall')
|
||||||
self.assertEqual(len(result['entries']), 9)
|
|
||||||
whole_duration = sum(e['duration'] for e in result['entries'])
|
whole_duration = sum(e['duration'] for e in result['entries'])
|
||||||
self.assertEqual(whole_duration, 14855)
|
self.assertEqual(whole_duration, 14855)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue