diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-06 18:51:25 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-06 18:51:25 -0500 |
commit | c294c1d363dcf3feb227f45c2c31a51f623c70ae (patch) | |
tree | 7d8a758822eae316f95b38788873a81fa6e45b0b /tests/hazmat | |
parent | 94973977da64fca479b1bfd034bcd78425224d2c (diff) | |
download | cryptography-c294c1d363dcf3feb227f45c2c31a51f623c70ae.tar.gz cryptography-c294c1d363dcf3feb227f45c2c31a51f623c70ae.tar.bz2 cryptography-c294c1d363dcf3feb227f45c2c31a51f623c70ae.zip |
more coverage...
Diffstat (limited to 'tests/hazmat')
-rw-r--r-- | tests/hazmat/primitives/test_rsa.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py index 9efdfbb4..31cb8163 100644 --- a/tests/hazmat/primitives/test_rsa.py +++ b/tests/hazmat/primitives/test_rsa.py @@ -385,6 +385,9 @@ def test_rsa_generate_invalid_backend(): with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE): rsa.generate_rsa_private_key(65537, 2048, pretend_backend) + with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE): + rsa.RSAPrivateKey.generate(65537, 2048, pretend_backend) + @pytest.mark.rsa class TestRSASignature(object): |