':py:obj:`Connection.get_finished` returns :py:obj:`None` before TLS
handshake is completed.'

def test_get_finished_before_connect(self):

    ctx = Context(TLSv1_METHOD)
    connection = Connection(ctx, None)
    self.assertEqual(connection.get_finished(), None)
