aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_hmac_vectors.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-24 22:24:31 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-24 22:36:28 -0600
commit4f2b1031c3c155b9af3817126b9ac508cbf849a3 (patch)
tree967eca554de3a60a80497cdd6d25fab53642a50d /tests/hazmat/primitives/test_hmac_vectors.py
parent0cbcfa67fc7c1e13764f4b662fc238a372507af8 (diff)
downloadcryptography-4f2b1031c3c155b9af3817126b9ac508cbf849a3.tar.gz
cryptography-4f2b1031c3c155b9af3817126b9ac508cbf849a3.tar.bz2
cryptography-4f2b1031c3c155b9af3817126b9ac508cbf849a3.zip
add all the markers to the tests
Diffstat (limited to 'tests/hazmat/primitives/test_hmac_vectors.py')
-rw-r--r--tests/hazmat/primitives/test_hmac_vectors.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_hmac_vectors.py b/tests/hazmat/primitives/test_hmac_vectors.py
index f884d850..9bc06a2e 100644
--- a/tests/hazmat/primitives/test_hmac_vectors.py
+++ b/tests/hazmat/primitives/test_hmac_vectors.py
@@ -13,12 +13,15 @@
from __future__ import absolute_import, division, print_function
+import pytest
+
from cryptography.hazmat.primitives import hashes
from .utils import generate_hmac_test
from ...utils import load_hash_vectors
+@pytest.mark.hmac
class TestHMAC_MD5(object):
test_hmac_md5 = generate_hmac_test(
load_hash_vectors,
@@ -32,6 +35,7 @@ class TestHMAC_MD5(object):
)
+@pytest.mark.hmac
class TestHMAC_SHA1(object):
test_hmac_sha1 = generate_hmac_test(
load_hash_vectors,
@@ -45,6 +49,7 @@ class TestHMAC_SHA1(object):
)
+@pytest.mark.hmac
class TestHMAC_SHA224(object):
test_hmac_sha224 = generate_hmac_test(
load_hash_vectors,
@@ -58,6 +63,7 @@ class TestHMAC_SHA224(object):
)
+@pytest.mark.hmac
class TestHMAC_SHA256(object):
test_hmac_sha256 = generate_hmac_test(
load_hash_vectors,
@@ -71,6 +77,7 @@ class TestHMAC_SHA256(object):
)
+@pytest.mark.hmac
class TestHMAC_SHA384(object):
test_hmac_sha384 = generate_hmac_test(
load_hash_vectors,
@@ -84,6 +91,7 @@ class TestHMAC_SHA384(object):
)
+@pytest.mark.hmac
class TestHMAC_SHA512(object):
test_hmac_sha512 = generate_hmac_test(
load_hash_vectors,
@@ -97,6 +105,7 @@ class TestHMAC_SHA512(object):
)
+@pytest.mark.hmac
class TestHMAC_RIPEMD160(object):
test_hmac_ripemd160 = generate_hmac_test(
load_hash_vectors,