aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-04 10:32:21 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-04 10:32:21 -0800
commit3e252c601592245590e015558a4c082f11ea40cd (patch)
treee348c7545c5b83824268f0d0dc67f234de5d4ae2 /tests
parentb477cf287fcd4082594cb2d38623a9beaa822c7b (diff)
downloadcryptography-3e252c601592245590e015558a4c082f11ea40cd.tar.gz
cryptography-3e252c601592245590e015558a4c082f11ea40cd.tar.bz2
cryptography-3e252c601592245590e015558a4c082f11ea40cd.zip
coverage
Diffstat (limited to 'tests')
-rw-r--r--tests/hazmat/bindings/test_openssl.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/hazmat/bindings/test_openssl.py b/tests/hazmat/bindings/test_openssl.py
index 9ce882e4..d47ae919 100644
--- a/tests/hazmat/bindings/test_openssl.py
+++ b/tests/hazmat/bindings/test_openssl.py
@@ -13,7 +13,7 @@
import pytest
-from cryptography.hazmat.bindings.openssl.backend import backend
+from cryptography.hazmat.bindings.openssl.backend import backend, Backend
from cryptography.hazmat.primitives.block.ciphers import AES
from cryptography.hazmat.primitives.block.modes import CBC
@@ -39,3 +39,6 @@ class TestOpenSSL(object):
def test_register_duplicate_cipher_adapter(self):
with pytest.raises(ValueError):
backend.ciphers.register_cipher_adapter(AES, CBC, None)
+
+ def test_instantiates(self):
+ Backend()