Fix syntax errors.
parent
068778953a
commit
67fb135ce8
|
@ -96,9 +96,9 @@ def run():
|
||||||
return passed('No failures encountered')
|
return passed('No failures encountered')
|
||||||
|
|
||||||
print('Failures:\n' + '\n'.join(sorted(result_dict.keys())))
|
print('Failures:\n' + '\n'.join(sorted(result_dict.keys())))
|
||||||
print('Whitelisted:\n' + '\n'.join(sorted(whitelist_dict.keys()))
|
print('Whitelisted:\n' + '\n'.join(sorted(whitelist_dict.keys())))
|
||||||
non_whitelisted_failures = set(result_dict.keys()) - set(whitelist_dict.keys())
|
non_whitelisted_failures = set(result_dict.keys()) - set(whitelist_dict.keys())
|
||||||
print('Failures not whitelisted:\n' + '\n'.join(sorted(non_whitelisted_failures))
|
print('Failures not whitelisted:\n' + '\n'.join(sorted(non_whitelisted_failures)))
|
||||||
if not non_whitelisted_failures:
|
if not non_whitelisted_failures:
|
||||||
return passed('All failures are whitelisted and considered acceptable \n' +
|
return passed('All failures are whitelisted and considered acceptable \n' +
|
||||||
'due to implementation differences, library shortcomings and bugs \n' +
|
'due to implementation differences, library shortcomings and bugs \n' +
|
||||||
|
|
Loading…
Reference in New Issue