From 4791d6fa1a829defb7b40258e2b101df0da177c9 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 24 Dec 2015 13:53:43 -0600 Subject: coverage --- tests/hazmat/backends/test_openssl.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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") -- cgit v1.2.3