Automatically test full OTA zip

This commit is contained in:
Pascal Roeleven
2023-02-28 19:40:01 +01:00
parent 6ce86be917
commit 017889684d
-2
View File
@@ -77,8 +77,6 @@ def test_device(test_file, magisk_file, hashes, workdir, no_test, db, device_nam
hashes = dict(new_hashes)
if not no_test:
os.remove(output_file)
for filename, md5_hash in hashes.items():
with open(os.path.join(workdir, filename), "rb") as f:
assert util.hash_file(f, hashlib.md5()).hexdigest() == md5_hash