summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adams <mark@markadams.me>2016-05-05 23:49:02 -0500
committerMark Adams <mark@markadams.me>2016-05-05 23:49:02 -0500
commit7c8c5c62cacd9f24a7be23c4f6120868c8ded109 (patch)
tree1b4b8f53a806093d5ae5ad93c9f319fb6eabf8b6
parentd363ae9c05a42d7f53384391cb009bc9240ead53 (diff)
downloadpyjwt-madams/cleanup-test-skips.tar.gz
Remove some erroenous @pytest.mark.skipif decoratorsmadams/cleanup-test-skips
-rw-r--r--tests/test_algorithms.py4
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)