aboutsummaryrefslogtreecommitdiffstats
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-12-24 21:55:24 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-12-24 21:55:24 -0800
commit2b3f94271209883aab4181ac5401c699c5c60b75 (patch)
treee4ea07c220ded2a658d9df84832341cfec9a9cb8 /tests/conftest.py
parent6198da1fcce93d7efb89995d0a10d9170ee8f230 (diff)
downloadcryptography-2b3f94271209883aab4181ac5401c699c5c60b75.tar.gz
cryptography-2b3f94271209883aab4181ac5401c699c5c60b75.tar.bz2
cryptography-2b3f94271209883aab4181ac5401c699c5c60b75.zip
Move stuff around and coverage
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 91ba988f..e059b630 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -4,7 +4,7 @@ from cryptography.hazmat.backends.interfaces import (
HMACBackend, CipherBackend, HashBackend
)
-from .skip_check import skip_check
+from .utils import check_for_iface
def pytest_generate_tests(metafunc):
@@ -16,6 +16,6 @@ def pytest_generate_tests(metafunc):
@pytest.mark.trylast
def pytest_runtest_setup(item):
- skip_check('hmac', HMACBackend, item)
- skip_check('cipher', CipherBackend, item)
- skip_check('hash', HashBackend, item)
+ check_for_iface("hmac", HMACBackend, item)
+ check_for_iface("cipher", CipherBackend, item)
+ check_for_iface("hash", HashBackend, item)