]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - test/test_download.py
debian/control: Prefer mpv to mplayer in Recommends.
[youtubedl] / test / test_download.py
index 6a149ae4f707e1dc048890b72a4903ccb8a5f785..1110357a7e8097eb38479d2a15837516af32a726 100644 (file)
@@ -153,7 +153,7 @@ def generator(test_case):
                     break
 
             if is_playlist:
                     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', {}))
 
                 self.assertTrue('entries' in res_dict)
                 expect_info_dict(self, res_dict, test_case.get('info_dict', {}))