(original) (raw)
changeset: 103116:dad4c42869f6 user: Christian Heimes christian@python.org date: Tue Sep 06 11:27:25 2016 +0200 files: Lib/test/test_ssl.py description: Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE diff -r e3b83bfa02c5 -r dad4c42869f6 Lib/test/test_ssl.py --- a/Lib/test/test_ssl.py Tue Sep 06 11:14:09 2016 +0200 +++ b/Lib/test/test_ssl.py Tue Sep 06 11:27:25 2016 +0200 @@ -839,8 +839,8 @@ ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1) ctx.set_ciphers('AESGCM') names = set(d['name'] for d in ctx.get_ciphers()) - self.assertIn('ECDHE-RSA-AES256-GCM-SHA384', names) - self.assertIn('ECDHE-RSA-AES128-GCM-SHA256', names) + self.assertIn('AES256-GCM-SHA384', names) + self.assertIn('AES128-GCM-SHA256', names) @skip_if_broken_ubuntu_ssl def test_options(self): /christian@python.org