def connect(self, url=None):
        if self.connection is not None:
            raise RuntimeError('already connected')
        self._set_url(url)
        try:
            self._connect()
        except (socket.error, ssl.SSLError) as e:
            raise RavelloError('could not connect to API')
Connect to the API. NOTE: will not retry.
dataset/ETHPy150Open ravello/testmill/lib/testmill/ravello.py/RavelloClient.connect