diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-15 19:10:53 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-10-15 19:10:53 -0500 |
commit | 20034b110a9e8b4e0b539bd0b8e28aa510ec9afc (patch) | |
tree | 7ee71f0e81a8052263397e89520d3fce655c1f6e /tests | |
parent | 72a6ff5a339e4f83fd00dfc893f5fecefe01dc36 (diff) | |
download | cryptography-20034b110a9e8b4e0b539bd0b8e28aa510ec9afc.tar.gz cryptography-20034b110a9e8b4e0b539bd0b8e28aa510ec9afc.tar.bz2 cryptography-20034b110a9e8b4e0b539bd0b8e28aa510ec9afc.zip |
add pragma: no cover to handle coverage in the tests for the moment
Diffstat (limited to 'tests')
-rw-r--r-- | tests/primitives/test_cryptrec.py | 2 | ||||
-rw-r--r-- | tests/primitives/test_openssl_vectors.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/primitives/test_cryptrec.py b/tests/primitives/test_cryptrec.py index de26ebd2..121e62cb 100644 --- a/tests/primitives/test_cryptrec.py +++ b/tests/primitives/test_cryptrec.py @@ -50,7 +50,7 @@ class TestCamelliaECB(object): ] ) def test_NTT(self, key, plaintext, ciphertext, api): - if not api.supports_cipher("camellia-128-ecb"): + if not api.supports_cipher("camellia-128-ecb"): # pragma: no cover pytest.skip("Does not support Camellia ECB") cipher = BlockCipher( ciphers.Camellia(binascii.unhexlify(key)), diff --git a/tests/primitives/test_openssl_vectors.py b/tests/primitives/test_openssl_vectors.py index acb982a5..d30efa5c 100644 --- a/tests/primitives/test_openssl_vectors.py +++ b/tests/primitives/test_openssl_vectors.py @@ -48,7 +48,7 @@ class TestCamelliaCBC(object): ) def test_OpenSSL(self, key, iv, plaintext, ciphertext, api): if not api.supports_cipher("camellia-128-cbc"): - pytest.skip("Does not support Camellia CBC") + pytest.skip("Does not support Camellia CBC") # pragma: no cover cipher = BlockCipher( ciphers.Camellia(binascii.unhexlify(key)), modes.CBC(binascii.unhexlify(iv)), @@ -69,7 +69,7 @@ class TestCamelliaOFB(object): ) def test_OpenSSL(self, key, iv, plaintext, ciphertext, api): if not api.supports_cipher("camellia-128-ofb"): - pytest.skip("Does not support Camellia OFB") + pytest.skip("Does not support Camellia OFB") # pragma: no cover cipher = BlockCipher( ciphers.Camellia(binascii.unhexlify(key)), modes.OFB(binascii.unhexlify(iv)), @@ -90,7 +90,7 @@ class TestCamelliaCFB(object): ) def test_OpenSSL(self, key, iv, plaintext, ciphertext, api): if not api.supports_cipher("camellia-128-cfb"): - pytest.skip("Does not support Camellia CFB") + pytest.skip("Does not support Camellia CFB") # pragma: no cover cipher = BlockCipher( ciphers.Camellia(binascii.unhexlify(key)), modes.CFB(binascii.unhexlify(iv)), |