From 40f444409998895831132d47b9f3c0447c737b6a Mon Sep 17 00:00:00 2001 From: Non Sequitur Date: Mon, 1 Oct 2018 22:04:31 -0400 Subject: [PATCH] Flake8 fix in test_verify.py --- lemur/tests/test_verify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lemur/tests/test_verify.py b/lemur/tests/test_verify.py index 0572d0d3..a1f0f5eb 100644 --- a/lemur/tests/test_verify.py +++ b/lemur/tests/test_verify.py @@ -12,8 +12,8 @@ from .vectors import INTERMEDIATE_CERT_STR def test_verify_simple_cert(): """Simple certificate without CRL or OCSP.""" - # Verification raises an exception for "unknown" if there are no means to verify it - assert verify_string(INTERMEDIATE_CERT_STR, '') == None + # Verification returns None if there are no means to verify a cert + assert verify_string(INTERMEDIATE_CERT_STR, '') is None def test_verify_crl_unknown_scheme(cert_builder, private_key):