aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_hmac.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-12-23 16:11:03 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-12-23 16:11:03 -0800
commit4dbed96fb73a4899a902d35086b893bfb96ebcca (patch)
treeb4e5596856f115b0325909a21194e76ce1f8c472 /tests/hazmat/primitives/test_hmac.py
parentb8564e829306731f5133ac6bcbfc8e2f7e1a25f4 (diff)
parent4f776c495cfef4dd29023cb7bb035612d1e53916 (diff)
downloadcryptography-4dbed96fb73a4899a902d35086b893bfb96ebcca.tar.gz
cryptography-4dbed96fb73a4899a902d35086b893bfb96ebcca.tar.bz2
cryptography-4dbed96fb73a4899a902d35086b893bfb96ebcca.zip
Merge pull request #338 from reaperhulk/hmac-supported-check
Add hmac_supported method to backend
Diffstat (limited to 'tests/hazmat/primitives/test_hmac.py')
-rw-r--r--tests/hazmat/primitives/test_hmac.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_hmac.py b/tests/hazmat/primitives/test_hmac.py
index 124c4377..1e776c98 100644
--- a/tests/hazmat/primitives/test_hmac.py
+++ b/tests/hazmat/primitives/test_hmac.py
@@ -34,7 +34,7 @@ class UnsupportedDummyHash(object):
class TestHMAC(object):
test_copy = generate_base_hmac_test(
hashes.MD5(),
- only_if=lambda backend: backend.hash_supported(hashes.MD5),
+ only_if=lambda backend: backend.hmac_supported(hashes.MD5),
skip_message="Does not support MD5",
)