aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-04 18:43:19 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-04 18:43:19 -0600
commitfefe3c224353e4e37b02f1df0fc9558f68f8c464 (patch)
treefc473e1ed2ddd635ba67cff92b47e0017e358b25 /tests/hazmat
parent2dd21fec484c85647d73145bd9957fd5326495c3 (diff)
downloadcryptography-fefe3c224353e4e37b02f1df0fc9558f68f8c464.tar.gz
cryptography-fefe3c224353e4e37b02f1df0fc9558f68f8c464.tar.bz2
cryptography-fefe3c224353e4e37b02f1df0fc9558f68f8c464.zip
make the dummy_initializer fail with an actual verify call
Diffstat (limited to 'tests/hazmat')
-rw-r--r--tests/hazmat/bindings/test_bindings.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hazmat/bindings/test_bindings.py b/tests/hazmat/bindings/test_bindings.py
index 927bc8a1..5b13d543 100644
--- a/tests/hazmat/bindings/test_bindings.py
+++ b/tests/hazmat/bindings/test_bindings.py
@@ -20,7 +20,8 @@ from cryptography.hazmat.bindings.openssl.binding import Binding
def dummy_initializer():
- raise cffi.VerificationError
+ ffi = cffi.FFI()
+ ffi.verify(source="include <fake_header.h>")
def test_binding_available():