[tests] Allow multi_video to be tested as playlists

This commit is contained in:
Yen Chi Hsuan 2015-04-19 19:08:37 +08:00
parent 163965d861
commit 880ee801cf
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ def generator(test_case):
break
if is_playlist:
self.assertEqual(res_dict['_type'], 'playlist')
self.assertTrue(res_dict['_type'] in ['playlist', 'multi_video'])
self.assertTrue('entries' in res_dict)
expect_info_dict(self, res_dict, test_case.get('info_dict', {}))