Flake8 fix in test_verify.py

This commit is contained in:
Non Sequitur 2018-10-01 22:04:31 -04:00
parent 50919d85a8
commit 40f4444099
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ from .vectors import INTERMEDIATE_CERT_STR
def test_verify_simple_cert(): def test_verify_simple_cert():
"""Simple certificate without CRL or OCSP.""" """Simple certificate without CRL or OCSP."""
# Verification raises an exception for "unknown" if there are no means to verify it # Verification returns None if there are no means to verify a cert
assert verify_string(INTERMEDIATE_CERT_STR, '') == None assert verify_string(INTERMEDIATE_CERT_STR, '') is None
def test_verify_crl_unknown_scheme(cert_builder, private_key): def test_verify_crl_unknown_scheme(cert_builder, private_key):