mirror of
https://github.com/androguard/androguard.git
synced 2024-11-23 05:00:11 +00:00
fix apk to be on the right path
This commit is contained in:
parent
3abefad51a
commit
4e8286943f
@ -312,7 +312,7 @@ class APKTest(unittest.TestCase):
|
||||
|
||||
def testMultipleCertsReturnTheCorrect(self):
|
||||
sha256_fingerprint = '01e1999710a82c2749b4d50c445dc85d670b6136089d0a766a73827c82a1eac9'
|
||||
a = APK(os.path.join(test_dir, 'data/APK/apksig/CertChain.apk'))
|
||||
a = APK(os.path.join(test_dir, 'data/APK/CertChain.apk'))
|
||||
sig = a.get_signature_names()[0]
|
||||
c = a.get_certificate(sig)
|
||||
self.assertEqual(hashlib.sha256(c.dump()).hexdigest(), sha256_fingerprint)
|
||||
|
Loading…
Reference in New Issue
Block a user