aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2016-09-03 13:04:26 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-09-03 12:04:26 -0500
commitadaf3b0021ee88f3721196df9b123e24e08f2857 (patch)
tree0a70ff16ecf8a6fe854fb919cce8474fe1c3498f /tests/hazmat/primitives
parent8b89bcc5b95140514bf7a17b72ce34f40b97a60a (diff)
downloadcryptography-adaf3b0021ee88f3721196df9b123e24e08f2857.tar.gz
cryptography-adaf3b0021ee88f3721196df9b123e24e08f2857.tar.bz2
cryptography-adaf3b0021ee88f3721196df9b123e24e08f2857.zip
make this test assert the right thing. (#3133)
right now it just always skips
Diffstat (limited to 'tests/hazmat/primitives')
-rw-r--r--tests/hazmat/primitives/test_x963_vectors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_x963_vectors.py b/tests/hazmat/primitives/test_x963_vectors.py
index b09d1653..4a945d47 100644
--- a/tests/hazmat/primitives/test_x963_vectors.py
+++ b/tests/hazmat/primitives/test_x963_vectors.py
@@ -62,4 +62,5 @@ class TestX963(object):
xkdf.verify(key, key_data)
def test_unsupported_hash(self, backend):
- _skip_hashfn_unsupported(backend, DummyHashAlgorithm())
+ with pytest.raises(pytest.skip.Exception):
+ _skip_hashfn_unsupported(backend, DummyHashAlgorithm())