class documentation

class InputTestClient(object):

View In Hierarchy

Test version of RAPI client.

Instances of this class can be used to test input arguments for RAPI client calls. See rapi.client.GanetiRapiClient for available methods and their arguments. Functions can return NotImplemented if all arguments are acceptable, but a LUXI request would be necessary to provide an actual return value. In case of an error, VerificationError is raised.

See Also
An example on how to use this class can be found in doc/examples/rapi_testutils.py
Method __getattr__ Finds method by name.
Method __init__ Initializes this class.
Method _GetLuxiCalls Returns the names of all called LUXI client functions.
Instance Variable _client Undocumented
Instance Variable _lcr Undocumented
def __getattr__(self, name):

Finds method by name.

The method is wrapped using _TestWrapper to produce the actual test result.

def __init__(self):

Initializes this class.

def _GetLuxiCalls(self):

Returns the names of all called LUXI client functions.

_client =

Undocumented

_lcr =

Undocumented