Class p.u.t.m.MockCallable:

Part of pida.utils.testing.mock View In Hierarchy

Intercepts the call and records it, then delegates to either the mock's dictionary of mock return values that was passed in to the constructor, or a handcrafted method of a Mock subclass.
Line # Kind Name Docs
247 Method __init__ Undocumented
252 Method __call__ Undocumented
258 Method recordCall Record the MockCall in an ordered list of all calls, and an ordered
269 Method makeCall Undocumented
282 Method checkExpectations Undocumented
def __init__(self, name, mock, handcrafted=False):
Undocumented
def __call__(self, *params, **kwparams):
Undocumented
def recordCall(self, params, kwparams):
Record the MockCall in an ordered list of all calls, and an ordered list of calls for that method name.
def makeCall(self, params, kwparams):
Undocumented
def checkExpectations(self, thisCall, params, kwparams):
Undocumented
API Documentation for PIDA, generated by pydoctor.