diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-12-10 18:21:46 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-12-10 18:21:46 -0600 |
commit | 285edf80abd3b1b59384e1021d10773150b1c3c3 (patch) | |
tree | 82b37308495575cead1386ff5bf0b9d646ab2f70 /tests/hazmat/primitives/test_rsa.py | |
parent | 0ed7822a5fde4724a56259e986edc43bd8f599c7 (diff) | |
download | cryptography-285edf80abd3b1b59384e1021d10773150b1c3c3.tar.gz cryptography-285edf80abd3b1b59384e1021d10773150b1c3c3.tar.bz2 cryptography-285edf80abd3b1b59384e1021d10773150b1c3c3.zip |
add NotImplemented handling
Diffstat (limited to 'tests/hazmat/primitives/test_rsa.py')
-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 c0a8aace..095ed037 100644 --- a/tests/hazmat/primitives/test_rsa.py +++ b/tests/hazmat/primitives/test_rsa.py @@ -1661,6 +1661,7 @@ class TestRSANumbersEquality(object): num = RSAPublicNumbers(1, 2) assert num != RSAPublicNumbers(2, 2) assert num != RSAPublicNumbers(1, 3) + assert num != object() def test_private_numbers_eq(self): pub = RSAPublicNumbers(1, 2) @@ -1696,3 +1697,4 @@ class TestRSANumbersEquality(object): assert num != RSAPrivateNumbers( 1, 2, 3, 4, 5, 6, RSAPublicNumbers(1, 3) ) + assert num != object() |