diff options
author | Yen Chi Hsuan <[email protected]> | 2015-04-19 19:08:37 +0800 |
---|---|---|
committer | Yen Chi Hsuan <[email protected]> | 2015-04-19 19:08:37 +0800 |
commit | 880ee801cf8a67643cd0a1130ea46cf3be046bf1 (patch) | |
tree | c8a3348370e9e9a0d3994e59809f33acdf8e550d /test/helper.py | |
parent | 163965d86188e5545caae4b5e33ff25278fee5e7 (diff) | |
download | youtube-dl-880ee801cf8a67643cd0a1130ea46cf3be046bf1.tar.gz youtube-dl-880ee801cf8a67643cd0a1130ea46cf3be046bf1.zip |
[tests] Allow multi_video to be tested as playlists
Diffstat (limited to 'test/helper.py')
-rw-r--r-- | test/helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helper.py b/test/helper.py index 12afdf184..e1129e58f 100644 --- a/test/helper.py +++ b/test/helper.py @@ -150,7 +150,7 @@ def expect_info_dict(self, got_dict, expected_dict): 'invalid value for field %s, expected %r, got %r' % (info_field, expected, got)) # Check for the presence of mandatory fields - if got_dict.get('_type') != 'playlist': + if got_dict.get('_type') not in ('playlist', 'multi_video'): for key in ('id', 'url', 'title', 'ext'): self.assertTrue(got_dict.get(key), 'Missing mandatory field %s' % key) # Check for mandatory fields that are automatically set by YoutubeDL |