aboutsummaryrefslogtreecommitdiffstats
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-04 13:37:00 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-04 17:21:29 -0600
commit108605b01873c4176275cc6bf2ea0d0b7c447a0e (patch)
tree1d175ea3a755fde33110bbd11aa0d51ff38b4a12 /tests/conftest.py
parentd68fd37ec18c5adfa580d989730f7988d72d2bea (diff)
downloadcryptography-108605b01873c4176275cc6bf2ea0d0b7c447a0e.tar.gz
cryptography-108605b01873c4176275cc6bf2ea0d0b7c447a0e.tar.bz2
cryptography-108605b01873c4176275cc6bf2ea0d0b7c447a0e.zip
add commoncrypto mark to skip on non-OS X platforms
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 0ddc3338..3ba2425d 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -4,7 +4,9 @@ from cryptography.hazmat.backends.interfaces import (
HMACBackend, CipherBackend, HashBackend
)
-from .utils import check_for_iface, check_backend_support
+from .utils import (
+ check_for_iface, check_backend_support, check_binding_available
+)
def pytest_generate_tests(metafunc):
@@ -20,3 +22,4 @@ def pytest_runtest_setup(item):
check_for_iface("cipher", CipherBackend, item)
check_for_iface("hash", HashBackend, item)
check_backend_support(item)
+ check_binding_available(item)