Robot Framework Library of utilities provided by etr. More...
Public Member Functions | |
def | get_random_port |
Returns a random free port. More... | |
def | wait_for_connection |
Wait for TCP connection to be accepted. More... | |
def | wait_for_path |
Wait for path element pathname (file or directory) to exist or timeout. More... | |
Robot Framework Library of utilities provided by etr.
def EtrUtils.EtrUtils.get_random_port | ( | self | ) |
Returns a random free port.
def EtrUtils.EtrUtils.wait_for_connection | ( | self, | |
host, | |||
port, | |||
timeout, | |||
reason = None , |
|||
interval = None |
|||
) |
Wait for TCP connection to be accepted.
It will wait in increments of 500ms and probe if port is accepting connections.
def EtrUtils.EtrUtils.wait_for_path | ( | self, | |
pathname, | |||
timeout, | |||
reason = None , |
|||
interval = None |
|||
) |
Wait for path element pathname
(file or directory) to exist or timeout.