From: Christian Heimes Date: Tue, 6 Sep 2016 09:27:25 +0000 (+0200) Subject: Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE X-Git-Tag: v3.6.0b1~428 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=582282b7d08be223b2d356db8bf3f9b7699aca4b;p=thirdparty%2FPython%2Fcpython.git Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE --- diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 07fb1026a514..4e0e4a2185a7 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -839,8 +839,8 @@ class ContextTests(unittest.TestCase): 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):