diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-22 16:24:06 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-22 16:24:06 -0800 |
commit | e247d0be584c52e25694918ad2345dadde3fefa9 (patch) | |
tree | 4de14a0fefd1e1f783b9c2d0b00823089ebf722d /tests | |
parent | 3edffe25ab91702842a7553b028d50086c58eef1 (diff) | |
download | cryptography-e247d0be584c52e25694918ad2345dadde3fefa9.tar.gz cryptography-e247d0be584c52e25694918ad2345dadde3fefa9.tar.bz2 cryptography-e247d0be584c52e25694918ad2345dadde3fefa9.zip |
Coverage
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hazmat/bindings/test_openssl.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/hazmat/bindings/test_openssl.py b/tests/hazmat/bindings/test_openssl.py index 9f27aab7..7ad1ea75 100644 --- a/tests/hazmat/bindings/test_openssl.py +++ b/tests/hazmat/bindings/test_openssl.py @@ -70,3 +70,7 @@ class TestOpenSSL(object): ) with pytest.raises(UnsupportedAlgorithm): cipher.encryptor() + + def test_handle_unknown_error(self): + with pytest.raises(SystemError): + backend._handle_error_code(0, 0, 0) |