diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-07 23:39:43 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-20 16:53:03 -0500 |
commit | 9a32ad6eed73674fecdd9c757a9842dc45c78fe4 (patch) | |
tree | 58d23648c0edbe717b77d589f356c2c83cc0d92f | |
parent | af9a2cc7bc73129fcd807ac890be59dcc9672a4c (diff) | |
download | cryptography-9a32ad6eed73674fecdd9c757a9842dc45c78fe4.tar.gz cryptography-9a32ad6eed73674fecdd9c757a9842dc45c78fe4.tar.bz2 cryptography-9a32ad6eed73674fecdd9c757a9842dc45c78fe4.zip |
test should check for the right exception
-rw-r--r-- | tests/hazmat/primitives/test_rsa.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py index 9c6d6f87..d8b25cbb 100644 --- a/tests/hazmat/primitives/test_rsa.py +++ b/tests/hazmat/primitives/test_rsa.py @@ -1330,7 +1330,7 @@ class TestRSADecryption(object): key_size=512, backend=backend ) - with pytest.raises(exceptions.InternalError): + with pytest.raises(exceptions.InvalidDecryption): private_key.decrypt( b"\x00" * 64, padding.PKCS1v15(), |