aboutsummaryrefslogtreecommitdiffstats
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-26 20:13:45 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-26 20:13:45 -0600
commit5a8fdf82f396609ccb971d707edddea58f2d3917 (patch)
tree47e7815de4ba685237653de9efe31cad4b8daf27 /tests/conftest.py
parentb645521e84026633f666aa107816ac2fc5e05cc6 (diff)
downloadcryptography-5a8fdf82f396609ccb971d707edddea58f2d3917.tar.gz
cryptography-5a8fdf82f396609ccb971d707edddea58f2d3917.tar.bz2
cryptography-5a8fdf82f396609ccb971d707edddea58f2d3917.zip
add mark that allows us to do skip tests on backends via decorators
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index e059b630..d8ab5819 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -4,7 +4,7 @@ from cryptography.hazmat.backends.interfaces import (
HMACBackend, CipherBackend, HashBackend
)
-from .utils import check_for_iface
+from .utils import check_for_iface, supported_by_backend_skip
def pytest_generate_tests(metafunc):
@@ -19,3 +19,4 @@ def pytest_runtest_setup(item):
check_for_iface("hmac", HMACBackend, item)
check_for_iface("cipher", CipherBackend, item)
check_for_iface("hash", HashBackend, item)
+ supported_by_backend_skip(item)