def test_get_cipher_name_before_connect(self):
    '\n        `Connection.get_cipher_name` returns `None` if no connection\n        has been established.\n        '
    ctx = Context(TLSv1_METHOD)
    conn = Connection(ctx, None)
    assert (conn.get_cipher_name() is None)
`Connection.get_cipher_name` returns `None` if no connection
has been established.
def test_get_cipher_name_before_connect(self):
    '\n        `Connection.get_cipher_name` returns `None` if no connection\n        has been established.\n        '
    ctx = Context(TLSv1_METHOD)
    conn = Connection(ctx, None)
    assert (conn.get_cipher_name() is None)