fix apk to be on the right path

This commit is contained in:
erev0s 2024-05-18 10:30:14 +03:00
parent 3abefad51a
commit 4e8286943f
2 changed files with 1 additions and 1 deletions

View File

@ -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)