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
Method Details [hide private]

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