aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-12-24 13:53:43 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-12-24 15:00:33 -0600
commit4791d6fa1a829defb7b40258e2b101df0da177c9 (patch)
tree886d5ef997ee05a61bc3144229c9e4e4097450ea /tests/hazmat
parenta3ef62119420832250959f598ca255bfc2a14685 (diff)
downloadcryptography-4791d6fa1a829defb7b40258e2b101df0da177c9.tar.gz
cryptography-4791d6fa1a829defb7b40258e2b101df0da177c9.tar.bz2
cryptography-4791d6fa1a829defb7b40258e2b101df0da177c9.zip
coverage
Diffstat (limited to 'tests/hazmat')
-rw-r--r--tests/hazmat/backends/test_openssl.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py
index d048fe68..fd4030f6 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -501,6 +501,11 @@ class TestOpenSSLSignX509Certificate(object):
backend.create_x509_certificate(object(), private_key, DummyHash())
+def test_crl_creation_not_implemented():
+ with pytest.raises(NotImplementedError):
+ backend.create_x509_crl("", "", "")
+
+
class TestOpenSSLSerialisationWithOpenSSL(object):
def test_pem_password_cb_buffer_too_small(self):
ffi_cb, userdata = backend._pem_password_cb(b"aa")