1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-13 14:13:54 +08:00

swap expect_info_dict args

This commit is contained in:
peugeot 2014-12-26 18:03:06 +01:00
parent 31424c126f
commit ce5de9ef28

View File

@ -204,7 +204,7 @@ def generator(test_case):
with io.open(info_json_fn, encoding='utf-8') as infof:
info_dict = json.load(infof)
expect_info_dict(self, tc.get('info_dict', {}), info_dict)
expect_info_dict(self, info_dict, tc.get('info_dict', {}))
finally:
try_rm_tcs_files()
if is_playlist and res_dict is not None and res_dict.get('entries'):