def test_get_finished_before_connect(self):
    '\n        `Connection.get_finished` returns `None` before TLS handshake\n        is completed.\n        '
    ctx = Context(TLSv1_METHOD)
    connection = Connection(ctx, None)
    assert (connection.get_finished() is None)
`Connection.get_finished` returns `None` before TLS handshake
is completed.
def test_get_finished_before_connect(self):
    '\n        `Connection.get_finished` returns `None` before TLS handshake\n        is completed.\n        '
    ctx = Context(TLSv1_METHOD)
    connection = Connection(ctx, None)
    assert (connection.get_finished() is None)