aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_ec.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-10-24 07:33:26 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-10-24 07:33:26 -0700
commit2f2346344ae5561bc9b106cbb452efeebe3cdc45 (patch)
tree4babc963e16a02d376075d545150c707e1ab37ff /tests/hazmat/primitives/test_ec.py
parentf281daed0e92dd3d00f9aa2fda6ae41e80a0e1fc (diff)
parent2607ab5b932395de6554f1f4a779481cd4b87619 (diff)
downloadcryptography-2f2346344ae5561bc9b106cbb452efeebe3cdc45.tar.gz
cryptography-2f2346344ae5561bc9b106cbb452efeebe3cdc45.tar.bz2
cryptography-2f2346344ae5561bc9b106cbb452efeebe3cdc45.zip
Merge pull request #1434 from alex/requires-backend-interface
Change how we represented that a test requires a backend.
Diffstat (limited to 'tests/hazmat/primitives/test_ec.py')
-rw-r--r--tests/hazmat/primitives/test_ec.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py
index 1b3bb9b3..decb3716 100644
--- a/tests/hazmat/primitives/test_ec.py
+++ b/tests/hazmat/primitives/test_ec.py
@@ -80,7 +80,7 @@ class DeprecatedDummyECBackend(object):
return b"public_key"
-@pytest.mark.elliptic
+@pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
def test_skip_curve_unsupported(backend):
with pytest.raises(pytest.skip.Exception):
_skip_curve_unsupported(backend, DummyCurve())
@@ -138,7 +138,7 @@ def test_ec_numbers():
)
-@pytest.mark.elliptic
+@pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
class TestECWithNumbers(object):
@pytest.mark.parametrize(
("vector", "hash_type"),
@@ -174,7 +174,7 @@ class TestECWithNumbers(object):
assert curve_type().name == priv_num.public_numbers.curve.name
-@pytest.mark.elliptic
+@pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
class TestECDSAVectors(object):
@pytest.mark.parametrize(
("vector", "hash_type"),