aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/primitives/utils.py')
-rw-r--r--tests/primitives/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/primitives/utils.py b/tests/primitives/utils.py
index 13bf0d89..addd7123 100644
--- a/tests/primitives/utils.py
+++ b/tests/primitives/utils.py
@@ -3,14 +3,14 @@ import os
import pytest
-from cryptography.bindings import openssl
+from cryptography.bindings import _ALL_APIS
from cryptography.primitives.block import BlockCipher
def generate_encrypt_test(param_loader, path, file_names, cipher_factory,
mode_factory, only_if=lambda api: True):
def test_encryption(self):
- for api in [openssl.api]:
+ for api in _ALL_APIS:
if not only_if(api):
yield encrypt_skipped
else: