Skip to content

Commit

Permalink
Remove unnecessary assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffLIrion committed Dec 6, 2019
1 parent cf246bf commit 2ece557
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_sign_cryptography.py
Expand Up @@ -23,7 +23,8 @@ def test_sign(self):
hash_ctx = hashes.Hash(hashes.SHA1(), default_backend())
hash_ctx.update(b'notadb')
data = hash_ctx.finalize()
self.assertEqual(data, b'(\x8b\x9e\x88|JY\xb5\x18\x13b_\xe0\xc4\xfb\xa5\x83\xbdx\xfc')
# For reference:
# data = b'(\x8b\x9e\x88|JY\xb5\x18\x13b_\xe0\xc4\xfb\xa5\x83\xbdx\xfc'

self.signer.Sign(data)
self.assertTrue(True)
Expand Down

0 comments on commit 2ece557

Please sign in to comment.