add pragma: no cover to handle coverage in the tests for the moment
diff --git a/tests/primitives/test_cryptrec.py b/tests/primitives/test_cryptrec.py
index de26ebd..121e62c 100644
--- a/tests/primitives/test_cryptrec.py
+++ b/tests/primitives/test_cryptrec.py
@@ -50,7 +50,7 @@
]
)
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 acb982a..d30efa5 100644
--- a/tests/primitives/test_openssl_vectors.py
+++ b/tests/primitives/test_openssl_vectors.py
@@ -48,7 +48,7 @@
)
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 @@
)
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 @@
)
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)),