vendor & use apksigcopier v0.4.0-12-g93d8e14

This commit is contained in:
Felix C. Stegerman 2021-04-14 21:06:20 +02:00
parent 67a0f3ae5b
commit 202fd8b25a
No known key found for this signature in database
GPG key ID: B218FF2C27FC6CC6
4 changed files with 655 additions and 77 deletions

View file

@ -473,7 +473,7 @@ class CommonTest(unittest.TestCase):
for info in apk.infolist():
testapk.writestr(info, apk.read(info.filename))
if info.filename.startswith('META-INF/'):
testapk.writestr(info, otherapk.read(info.filename))
testapk.writestr(info.filename, otherapk.read(info.filename))
otherapk.close()
self.assertFalse(fdroidserver.common.verify_apk_signature(twosigapk))
self.assertIsNone(fdroidserver.common.verify_apks(sourceapk, twosigapk, self.tmpdir))