diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-16 14:17:36 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-16 14:17:36 -0700 |
commit | a20631d332d47903a85b61c4b68c5398125a3ebe (patch) | |
tree | 82d10997cba9841c05feb386a32d826de48fba32 /tests/primitives | |
parent | 016eed1cc1cc26ff404ac31ed3858de362ca37f2 (diff) | |
download | cryptography-a20631d332d47903a85b61c4b68c5398125a3ebe.tar.gz cryptography-a20631d332d47903a85b61c4b68c5398125a3ebe.tar.bz2 cryptography-a20631d332d47903a85b61c4b68c5398125a3ebe.zip |
Consolidate this list
Diffstat (limited to 'tests/primitives')
-rw-r--r-- | tests/primitives/utils.py | 4 |
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: |