diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-12-24 22:27:30 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-12-24 22:27:30 -0800 |
commit | 348c80f2eba66b5c1b7f4c3a5ee8fc330895ae4e (patch) | |
tree | fc913b5f7c610c03fb702d9f9b5ed000b2301421 /tests/hazmat/primitives/test_hmac_vectors.py | |
parent | b7b7f65e42e9831c3f2f3ddd0b5f021d029b73cb (diff) | |
parent | 8d85b058d28d37f1f505292f7cc6311092dd4f39 (diff) | |
download | cryptography-348c80f2eba66b5c1b7f4c3a5ee8fc330895ae4e.tar.gz cryptography-348c80f2eba66b5c1b7f4c3a5ee8fc330895ae4e.tar.bz2 cryptography-348c80f2eba66b5c1b7f4c3a5ee8fc330895ae4e.zip |
Merge pull request #346 from reaperhulk/mark-tests-2
Add Actual Test Marks
Diffstat (limited to 'tests/hazmat/primitives/test_hmac_vectors.py')
-rw-r--r-- | tests/hazmat/primitives/test_hmac_vectors.py | 9 |
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, |