Tests: assertion related fixes.

This commit is contained in:
Andrei Zeliankou
2023-05-25 16:56:14 +01:00
parent 0132e552d0
commit b034bf6703
11 changed files with 90 additions and 95 deletions

View File

@@ -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):