diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-08-01 08:23:31 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-08-01 08:23:31 -0500 |
commit | de21e2f5f376a3693acd590c787049d6f67d06c8 (patch) | |
tree | 65cb45535e651ae0527ac0083f3da32ceb5337dc /tests/hazmat/bindings/test_commoncrypto.py | |
parent | 6bb22e4b60d00085482afcf16f29679673dc6c97 (diff) | |
parent | 55971ba2331d5f3b907b1b0b80c0034f5ee11df7 (diff) | |
download | cryptography-de21e2f5f376a3693acd590c787049d6f67d06c8.tar.gz cryptography-de21e2f5f376a3693acd590c787049d6f67d06c8.tar.bz2 cryptography-de21e2f5f376a3693acd590c787049d6f67d06c8.zip |
Merge pull request #1283 from Ayrx/entry_points
Added entry_points.
Diffstat (limited to 'tests/hazmat/bindings/test_commoncrypto.py')
-rw-r--r-- | tests/hazmat/bindings/test_commoncrypto.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/hazmat/bindings/test_commoncrypto.py b/tests/hazmat/bindings/test_commoncrypto.py index 0332674b..71c832ef 100644 --- a/tests/hazmat/bindings/test_commoncrypto.py +++ b/tests/hazmat/bindings/test_commoncrypto.py @@ -15,10 +15,12 @@ from __future__ import absolute_import, division, print_function import pytest +from cryptography.hazmat.backends import _available_backends from cryptography.hazmat.bindings.commoncrypto.binding import Binding -@pytest.mark.skipif(not Binding.is_available(), +@pytest.mark.skipif("commoncrypto" not in + [i.name for i in _available_backends()], reason="CommonCrypto not available") class TestCommonCrypto(object): def test_binding_loads(self): |