aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-02-08 13:40:56 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-02-08 13:40:56 -0800
commit3d38f7a68b4ffc4cab920a82f1d6d225b906be22 (patch)
tree84687fdfcf8c1dfa3c99792d57f7152ba9c25867
parent973e7ccc37816bd922afac3a34f4c139c9134029 (diff)
parente4f7874cb91d6dd6a092cb41f93a7db36a947d7c (diff)
downloadcryptography-3d38f7a68b4ffc4cab920a82f1d6d225b906be22.tar.gz
cryptography-3d38f7a68b4ffc4cab920a82f1d6d225b906be22.tar.bz2
cryptography-3d38f7a68b4ffc4cab920a82f1d6d225b906be22.zip
Merge pull request #583 from reaperhulk/rsa-marks
pytest marks for RSA
-rw-r--r--pytest.ini1
-rw-r--r--tests/conftest.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/pytest.ini b/pytest.ini
index 2a1b6e9f..3f65e30e 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -5,4 +5,5 @@ markers =
hash: this test requires a backend providing HashBackend
hmac: this test requires a backend providing HMACBackend
pbkdf2hmac: this test requires a backend providing PBKDF2HMACBackend
+ rsa: this test requires a backend providing RSABackend
supported: parametrized test requiring only_if and skip_message
diff --git a/tests/conftest.py b/tests/conftest.py
index ecad1b23..64982efd 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -2,7 +2,7 @@ import pytest
from cryptography.hazmat.backends import _ALL_BACKENDS
from cryptography.hazmat.backends.interfaces import (
- HMACBackend, CipherBackend, HashBackend, PBKDF2HMACBackend
+ HMACBackend, CipherBackend, HashBackend, PBKDF2HMACBackend, RSABackend
)
from .utils import check_for_iface, check_backend_support, select_backends
@@ -22,6 +22,7 @@ def pytest_runtest_setup(item):
check_for_iface("cipher", CipherBackend, item)
check_for_iface("hash", HashBackend, item)
check_for_iface("pbkdf2hmac", PBKDF2HMACBackend, item)
+ check_for_iface("rsa", RSABackend, item)
check_backend_support(item)