Here are the examples of the python api twisted.internet._sslverify.OpenSSLAcceptableCiphers taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Source : test_sslverify.py
with MIT License
from autofelix
with MIT License
from autofelix
def test_selectOnEmptyListReturnsEmptyList(self):
"""
If no ciphers are available, nothing can be selected.
"""
ac = sslverify.OpenSSLAcceptableCiphers([])
self.assertEqual([], ac.selectCiphers([]))
def test_selectReturnsOnlyFromAvailable(self):