aboutsummaryrefslogtreecommitdiff
path: root/test/test_download.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-04-19 19:08:37 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-04-19 19:08:37 +0800
commit880ee801cf8a67643cd0a1130ea46cf3be046bf1 (patch)
treec8a3348370e9e9a0d3994e59809f33acdf8e550d /test/test_download.py
parent163965d86188e5545caae4b5e33ff25278fee5e7 (diff)
[tests] Allow multi_video to be tested as playlists
Diffstat (limited to 'test/test_download.py')
-rw-r--r--test/test_download.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_download.py b/test/test_download.py
index 6a149ae4f..1110357a7 100644
--- a/test/test_download.py
+++ b/test/test_download.py
@@ -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', {}))