mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
fix assertions after ciphers were changed
This commit is contained in:
parent
f78b78aed4
commit
8791d697e0
1 changed files with 1 additions and 2 deletions
|
@ -3171,8 +3171,7 @@ else:
|
|||
ciphers = stats['server_shared_ciphers'][0]
|
||||
self.assertGreater(len(ciphers), 0)
|
||||
for name, tls_version, bits in ciphers:
|
||||
self.assertIn("AES128", name.split("-"))
|
||||
self.assertEqual(bits, 128)
|
||||
self.assertIn("RC4", name.split("-"))
|
||||
|
||||
def test_read_write_after_close_raises_valuerror(self):
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue