(self, seconds=10)
return ''
Waits some time before trying to get the IP of the container and returning it.
Waits some time before trying to get the IP of the container and returning it.
Waits some time before trying to get the IP of the container and returning it .
def _wait_for_ip(self, seconds=10):
        """ Waits some time before trying to get the IP of the container and returning it. """
        for i in range(seconds):
            time.sleep(1)
            ip = get_ip(self._container)
            if ip:
                return ip
        return ''
def _wait_for_ip ( self , seconds = 10 ) : for i in range ( seconds ) : time . sleep ( 1 ) ip = get_ip ( self . _container ) if ip : return ip return ''