Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE

This commit is contained in:
Christian Heimes 2016-09-06 11:27:25 +02:00
parent 407380f63f
commit 582282b7d0
1 changed files with 2 additions and 2 deletions

View File

@ -839,8 +839,8 @@ class ContextTests(unittest.TestCase):
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1) ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
ctx.set_ciphers('AESGCM') ctx.set_ciphers('AESGCM')
names = set(d['name'] for d in ctx.get_ciphers()) names = set(d['name'] for d in ctx.get_ciphers())
self.assertIn('ECDHE-RSA-AES256-GCM-SHA384', names) self.assertIn('AES256-GCM-SHA384', names)
self.assertIn('ECDHE-RSA-AES128-GCM-SHA256', names) self.assertIn('AES128-GCM-SHA256', names)
@skip_if_broken_ubuntu_ssl @skip_if_broken_ubuntu_ssl
def test_options(self): def test_options(self):