diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-22 10:17:53 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-22 12:51:15 -0600 |
commit | 33bdf0fabd90e3a73138cb3f8acd929328a152aa (patch) | |
tree | c6c1128de217a93afd9550e6b740fcdb3c5a2c92 /tests | |
parent | 144a415be10fe454f6f2f6fd419c0b5efdbdb2a3 (diff) | |
download | cryptography-33bdf0fabd90e3a73138cb3f8acd929328a152aa.tar.gz cryptography-33bdf0fabd90e3a73138cb3f8acd929328a152aa.tar.bz2 cryptography-33bdf0fabd90e3a73138cb3f8acd929328a152aa.zip |
update test to cover missing line
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hazmat/primitives/test_rsa.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py index 221b32bf..04908453 100644 --- a/tests/hazmat/primitives/test_rsa.py +++ b/tests/hazmat/primitives/test_rsa.py @@ -99,6 +99,8 @@ class TestRSA(object): if isinstance(skey, interfaces.RSAPrivateKeyWithNumbers): _check_rsa_private_numbers(skey.private_numbers()) + pkey = skey.public_key() + assert isinstance(pkey.public_numbers(), rsa.RSAPublicNumbers) def test_generate_rsa_key_class_method(self, backend): skey = pytest.deprecated_call( |