Skip to content

Commit

Permalink
style: flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
bandoche committed Jun 10, 2021
1 parent f77a741 commit ed1609a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pypinksign/test_pinkSign.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,7 @@ def test_load_12_file(self):
f.close()
cert = PinkSign(p12_path=f.name, prikey_password=TEST_CERT['signPw'])
signed = cert.sign(msg=b'1')
cert.verify(signature=signed, msg = b'1')
# cert.load_prikey()
cert.verify(signature=signed, msg=b'1')
os.unlink(f.name)
expected_public_numbers = RSAPublicNumbers(e=65537, n=TEST_CERT['n'])
self.assertEqual(cert.pubkey.public_numbers(), expected_public_numbers)
Expand Down

0 comments on commit ed1609a

Please sign in to comment.