fix assertions after ciphers were changed

This commit is contained in:
Benjamin Peterson 2015-01-07 14:29:45 -06:00
parent f78b78aed4
commit 8791d697e0

View file

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