@pytest.mark.parametrize('cipher_string', [b'hello world:AES128-SHA', u'hello world:AES128-SHA'])
def test_set_cipher_list(self, context, cipher_string):
    '\n        `Context.set_cipher_list` accepts both byte and unicode strings\n        for naming the ciphers which connections created with the context\n        object will be able to choose from.\n        '
    context.set_cipher_list(cipher_string)
    conn = Connection(context, None)
    assert ('AES128-SHA' in conn.get_cipher_list())
`Context.set_cipher_list` accepts both byte and unicode strings
for naming the ciphers which connections created with the context
object will be able to choose from.
@pytest.mark.parametrize('cipher_string', [b'hello world:AES128-SHA', u'hello world:AES128-SHA'])
def test_set_cipher_list(self, context, cipher_string):
    '\n        `Context.set_cipher_list` accepts both byte and unicode strings\n        for naming the ciphers which connections created with the context\n        object will be able to choose from.\n        '
    context.set_cipher_list(cipher_string)
    conn = Connection(context, None)
    assert ('AES128-SHA' in conn.get_cipher_list())