mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
verify: write verified.json in function to ease testing
This commit is contained in:
parent
d34d051329
commit
029636ed61
1 changed files with 19 additions and 15 deletions
|
@ -145,6 +145,10 @@ def write_json_report(url, remote_apk, unsigned_apk, compare_result):
|
||||||
json.dump(data, fp, sort_keys=True)
|
json.dump(data, fp, sort_keys=True)
|
||||||
|
|
||||||
if output['verified']:
|
if output['verified']:
|
||||||
|
write_verified_json(output)
|
||||||
|
|
||||||
|
|
||||||
|
def write_verified_json(output):
|
||||||
jsonfile = 'unsigned/verified.json'
|
jsonfile = 'unsigned/verified.json'
|
||||||
data = get_verified_json(jsonfile)
|
data = get_verified_json(jsonfile)
|
||||||
packageName = output['local']['packageName']
|
packageName = output['local']['packageName']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue