Package ganeti :: Package rapi :: Module testutils :: Class _LuxiCallRecorder
[hide private]
[frames] | no frames]

Class _LuxiCallRecorder

source code


Records all called LUXI client methods.

Instance Methods [hide private]
 
__init__(self)
Initializes this class.
source code
 
Record(self, name)
Records a called function name.
source code
 
CalledNames(self)
Returns a list of called LUXI methods.
source code
 
__call__(self, address=None)
Creates an instrumented LUXI client.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initializes this class.

Overrides: object.__init__

__call__(self, address=None)
(Call operator)

source code 

Creates an instrumented LUXI client.

The LUXI client will record all method calls (use CalledNames to retrieve them).