summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2023-05-25 16:56:14 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2023-05-25 16:56:14 +0100
commitb034bf67034c4f0e966ebd207ba2f407f6f15fa8 (patch)
treeed2f338b2283b2b4d4ec562ab7e251268ac3f0fa /test/test_tls.py
parent0132e552d0b9e8b724015728b5fbd7dad9d2edcb (diff)
downloadunit-b034bf67034c4f0e966ebd207ba2f407f6f15fa8.tar.gz
unit-b034bf67034c4f0e966ebd207ba2f407f6f15fa8.tar.bz2
Tests: assertion related fixes.
Diffstat (limited to '')
-rw-r--r--test/test_tls.py4
1 files changed, 2 insertions, 2 deletions
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):