verify: write verified.json in function to ease testing

This commit is contained in:
Hans-Christoph Steiner 2024-12-18 12:39:48 +01:00
parent d34d051329
commit 029636ed61

View file

@ -145,6 +145,10 @@ def write_json_report(url, remote_apk, unsigned_apk, compare_result):
json.dump(data, fp, sort_keys=True)
if output['verified']:
write_verified_json(output)
def write_verified_json(output):
jsonfile = 'unsigned/verified.json'
data = get_verified_json(jsonfile)
packageName = output['local']['packageName']