diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-01-08 03:21:34 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-01-08 03:21:34 (GMT) |
commit | 23ef9fac16c61543ebe6261f2524fdb13a8e1d03 (patch) | |
tree | 05f1cdb17d5267099fb9be864a4b2ef1d72b692b /Lib/test/test_ssl.py | |
parent | e6838e08ef3c33229f22002547fdf3f6cdac8ff7 (diff) | |
download | cpython-23ef9fac16c61543ebe6261f2524fdb13a8e1d03.zip cpython-23ef9fac16c61543ebe6261f2524fdb13a8e1d03.tar.gz cpython-23ef9fac16c61543ebe6261f2524fdb13a8e1d03.tar.bz2 |
trying again
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r-- | Lib/test/test_ssl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 20f0eef..3f1ba2f 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -3165,13 +3165,13 @@ else: def test_shared_ciphers(self): server_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1) client_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) - client_context.set_ciphers("AES") + client_context.set_ciphers("RC4") server_context.set_ciphers("AES:RC4") stats = server_params_test(client_context, server_context) ciphers = stats['server_shared_ciphers'][0] self.assertGreater(len(ciphers), 0) for name, tls_version, bits in ciphers: - self.assertIn("AES", name) + self.assertIn("RC4", name.split("-")) def test_read_write_after_close_raises_valuerror(self): context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) |