aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_hmac.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-01-04 10:07:47 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-01-04 10:07:47 -0800
commit7c8e9ceb38855be9beda306bd281aaa9a09d1f02 (patch)
tree95404948cc87586f87f91d746cf17097a63a3d4f /tests/hazmat/primitives/test_hmac.py
parent24c9a8d153ed7b1520a87d2ad22d9e9b26f272b8 (diff)
parent24684cababdd46dbc715087ff6a6fdb7f1cec8ec (diff)
downloadcryptography-7c8e9ceb38855be9beda306bd281aaa9a09d1f02.tar.gz
cryptography-7c8e9ceb38855be9beda306bd281aaa9a09d1f02.tar.bz2
cryptography-7c8e9ceb38855be9beda306bd281aaa9a09d1f02.zip
Merge pull request #402 from reaperhulk/hash-supported-objects
Instantiate hash objects for supported checks
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 04913af6..dd9cdaab 100644
--- a/tests/hazmat/primitives/test_hmac.py
+++ b/tests/hazmat/primitives/test_hmac.py
@@ -34,7 +34,7 @@ class UnsupportedDummyHash(object):
@pytest.mark.supported(
- only_if=lambda backend: backend.hmac_supported(hashes.MD5),
+ only_if=lambda backend: backend.hmac_supported(hashes.MD5()),
skip_message="Does not support MD5",
)
@pytest.mark.hmac