diff options
author | Mark Adams <mark@markadams.me> | 2016-05-06 00:20:04 -0500 |
---|---|---|
committer | Mark Adams <mark@markadams.me> | 2016-05-06 00:20:04 -0500 |
commit | c1290f0616cb9b5f5db9a897a067e356c7011d3d (patch) | |
tree | 1b4b8f53a806093d5ae5ad93c9f319fb6eabf8b6 | |
parent | d363ae9c05a42d7f53384391cb009bc9240ead53 (diff) | |
parent | 7c8c5c62cacd9f24a7be23c4f6120868c8ded109 (diff) | |
download | pyjwt-c1290f0616cb9b5f5db9a897a067e356c7011d3d.tar.gz |
Merge pull request #201 from jpadilla/madams/cleanup-test-skips
Remove some erroneous @pytest.mark.skipif decorators
-rw-r--r-- | tests/test_algorithms.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_algorithms.py b/tests/test_algorithms.py index e071854..45bb6d1 100644 --- a/tests/test_algorithms.py +++ b/tests/test_algorithms.py @@ -56,7 +56,6 @@ class TestAlgorithms: algo.prepare_key(ensure_unicode('awesome')) - @pytest.mark.skipif(not has_crypto, reason='Not supported without cryptography library') def test_hmac_should_throw_exception_if_key_is_pem_public_key(self): algo = HMACAlgorithm(HMACAlgorithm.SHA256) @@ -64,7 +63,6 @@ class TestAlgorithms: with open(key_path('testkey2_rsa.pub.pem'), 'r') as keyfile: algo.prepare_key(keyfile.read()) - @pytest.mark.skipif(not has_crypto, reason='Not supported without cryptography library') def test_hmac_should_throw_exception_if_key_is_x509_certificate(self): algo = HMACAlgorithm(HMACAlgorithm.SHA256) @@ -72,7 +70,6 @@ class TestAlgorithms: with open(key_path('testkey_rsa.cer'), 'r') as keyfile: algo.prepare_key(keyfile.read()) - @pytest.mark.skipif(not has_crypto, reason='Not supported without cryptography library') def test_hmac_should_throw_exception_if_key_is_ssh_public_key(self): algo = HMACAlgorithm(HMACAlgorithm.SHA256) @@ -80,7 +77,6 @@ class TestAlgorithms: with open(key_path('testkey_rsa.pub'), 'r') as keyfile: algo.prepare_key(keyfile.read()) - @pytest.mark.skipif(not has_crypto, reason='Not supported without cryptography library') def test_hmac_should_throw_exception_if_key_is_x509_cert(self): algo = HMACAlgorithm(HMACAlgorithm.SHA256) |