def test_get_session_unconnected(self):
    '\n        `Connection.get_session` returns `None` when used with an object\n        which has not been connected.\n        '
    ctx = Context(TLSv1_METHOD)
    server = Connection(ctx, None)
    session = server.get_session()
    assert (None is session)
`Connection.get_session` returns `None` when used with an object
which has not been connected.
def test_get_session_unconnected(self):
    '\n        `Connection.get_session` returns `None` when used with an object\n        which has not been connected.\n        '
    ctx = Context(TLSv1_METHOD)
    server = Connection(ctx, None)
    session = server.get_session()
    assert (None is session)