diff --git a/data/upd05_group_by_filename.py b/data/upd05_group_by_filename.py index 5a9e92845dc8..60d8f538f632 100644 --- a/data/upd05_group_by_filename.py +++ b/data/upd05_group_by_filename.py @@ -165,7 +165,19 @@ def canonical_file_info(file_info): file_info_1 = canonical_file_info(file_info_1) file_info_2 = canonical_file_info(file_info_2) - assert file_info_1.keys() - {'signingDate'} == file_info_2.keys() - {'signingDate'}, (file_info_1, file_info_2) + # assert file_info_1.keys() - {'signingDate'} == file_info_2.keys() - {'signingDate'}, (file_info_1, file_info_2) + + # temp { + if file_info_1.keys() - {'signingDate'} != file_info_2.keys() - {'signingDate'}: + if file_info_1['sha256'] not in [ + # edgehtml.dll + '0cb8e9df274c7edc3c4997fdd4110d6f73221f32d479af8648b54e90a294ebae', + '51fce1826feddcfedface5ef71a9396b781083c7752b4ff77c3b549aad0917f6', + ]: + assert file_info_1.keys() - {'signingDate'} == file_info_2.keys() - {'signingDate'}, (file_info_1, file_info_2) + else: + assert file_info_1.keys() - {'signingDate', 'version', 'description'} == file_info_2.keys() - {'signingDate', 'version', 'description'}, (file_info_1, file_info_2) + # } for key in file_info_1.keys() - {'signingStatus', 'signingDate'}: assert file_info_1[key] == file_info_2[key], (file_info_1, file_info_2)