aboutsummaryrefslogtreecommitdiffstats
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2014-03-16 16:32:50 +0000
committerAlex Stapleton <alexs@prol.etari.at>2014-03-16 16:32:50 +0000
commit24dc98c7fdafad5c8a81a079dd5b369a92793a01 (patch)
treeca88936933be6ee92cf908aa38dda04f9488fe42 /tests/conftest.py
parente171c5fcf47263d4aee35c555844e4c4d7aec5f0 (diff)
downloadcryptography-24dc98c7fdafad5c8a81a079dd5b369a92793a01.tar.gz
cryptography-24dc98c7fdafad5c8a81a079dd5b369a92793a01.tar.bz2
cryptography-24dc98c7fdafad5c8a81a079dd5b369a92793a01.zip
Fix circular imports with available_backends()
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 0069f2c0..c5978200 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -15,7 +15,7 @@ from __future__ import absolute_import, division, print_function
import pytest
-from cryptography.hazmat.backends import _ALL_BACKENDS
+from cryptography.hazmat.backends import available_backends
from cryptography.hazmat.backends.interfaces import (
HMACBackend, CipherBackend, HashBackend, PBKDF2HMACBackend, RSABackend
)
@@ -25,7 +25,7 @@ from .utils import check_for_iface, check_backend_support, select_backends
def pytest_generate_tests(metafunc):
names = metafunc.config.getoption("--backend")
- selected_backends = select_backends(names, _ALL_BACKENDS)
+ selected_backends = select_backends(names, available_backends())
if "backend" in metafunc.fixturenames:
metafunc.parametrize("backend", selected_backends)