From b034bf67034c4f0e966ebd207ba2f407f6f15fa8 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Thu, 25 May 2023 16:56:14 +0100 Subject: Tests: assertion related fixes. --- test/test_tls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_tls.py') diff --git a/test/test_tls.py b/test/test_tls.py index a4dc8ef5..52107d9a 100644 --- a/test/test_tls.py +++ b/test/test_tls.py @@ -331,7 +331,7 @@ basicConstraints = critical,CA:TRUE""" except ssl.SSLError: resp = None - assert resp == None, 'certificate chain incomplete chain' + assert resp is None, 'certificate chain incomplete chain' # intermediate @@ -571,7 +571,7 @@ basicConstraints = critical,CA:TRUE""" except: resp = None - assert resp == None, 'keepalive remove certificate' + assert resp is None, 'keepalive remove certificate' @pytest.mark.skip('not yet') def test_tls_certificates_remove_all(self): -- cgit