rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
EtrUtils.EtrUtils Class Reference

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...
 

Detailed Description

Robot Framework Library of utilities provided by etr.

Member Function Documentation

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.


The documentation for this class was generated from the following file: