aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_pbkdf2hmac_vectors.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-10-24 07:33:26 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-10-24 07:33:26 -0700
commit2f2346344ae5561bc9b106cbb452efeebe3cdc45 (patch)
tree4babc963e16a02d376075d545150c707e1ab37ff /tests/hazmat/primitives/test_pbkdf2hmac_vectors.py
parentf281daed0e92dd3d00f9aa2fda6ae41e80a0e1fc (diff)
parent2607ab5b932395de6554f1f4a779481cd4b87619 (diff)
downloadcryptography-2f2346344ae5561bc9b106cbb452efeebe3cdc45.tar.gz
cryptography-2f2346344ae5561bc9b106cbb452efeebe3cdc45.tar.bz2
cryptography-2f2346344ae5561bc9b106cbb452efeebe3cdc45.zip
Merge pull request #1434 from alex/requires-backend-interface
Change how we represented that a test requires a backend.
Diffstat (limited to 'tests/hazmat/primitives/test_pbkdf2hmac_vectors.py')
-rw-r--r--tests/hazmat/primitives/test_pbkdf2hmac_vectors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_pbkdf2hmac_vectors.py b/tests/hazmat/primitives/test_pbkdf2hmac_vectors.py
index 149387be..7eed58ad 100644
--- a/tests/hazmat/primitives/test_pbkdf2hmac_vectors.py
+++ b/tests/hazmat/primitives/test_pbkdf2hmac_vectors.py
@@ -15,6 +15,7 @@ from __future__ import absolute_import, division, print_function
import pytest
+from cryptography.hazmat.backends.interfaces import PBKDF2HMACBackend
from cryptography.hazmat.primitives import hashes
from .utils import generate_pbkdf2_test
@@ -25,7 +26,7 @@ from ...utils import load_nist_vectors
only_if=lambda backend: backend.pbkdf2_hmac_supported(hashes.SHA1()),
skip_message="Does not support SHA1 for PBKDF2HMAC",
)
-@pytest.mark.pbkdf2hmac
+@pytest.mark.requires_backend_interface(interface=PBKDF2HMACBackend)
class TestPBKDF2HMACSHA1(object):
test_pbkdf2_sha1 = generate_pbkdf2_test(
load_nist_vectors,