diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-10-24 07:33:26 -0700 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-10-24 07:33:26 -0700 |
commit | 2f2346344ae5561bc9b106cbb452efeebe3cdc45 (patch) | |
tree | 4babc963e16a02d376075d545150c707e1ab37ff /tests/hazmat/primitives/test_ec.py | |
parent | f281daed0e92dd3d00f9aa2fda6ae41e80a0e1fc (diff) | |
parent | 2607ab5b932395de6554f1f4a779481cd4b87619 (diff) | |
download | cryptography-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.py | 6 |
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"), |