mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-10 01:00:29 +03:00
vendor & use apksigcopier v0.4.0-12-g93d8e14
This commit is contained in:
parent
67a0f3ae5b
commit
202fd8b25a
4 changed files with 655 additions and 77 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue