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

def test_get_peer_finished_before_connect(self):

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