def test_client_get_session(self):
    '\n        On the client side of a connection, `Connection.get_session`\n        returns a `Session` instance representing the SSL session for\n        that connection.\n        '
    (server, client) = loopback()
    session = client.get_session()
    assert isinstance(session, Session)
On the client side of a connection, `Connection.get_session`
returns a `Session` instance representing the SSL session for
that connection.
def test_client_get_session(self):
    '\n        On the client side of a connection, `Connection.get_session`\n        returns a `Session` instance representing the SSL session for\n        that connection.\n        '
    (server, client) = loopback()
    session = client.get_session()
    assert isinstance(session, Session)