class documentation

class MockChannel(Mock): (source)

View In Hierarchy

Mock subclass that tracks state for its ``recv(_stderr)?`` methods. Turns out abusing function closures inside MockRemote to track this state only worked for 1 command per session! .. versionadded:: 2.1

Method __init__ Undocumented
Method recv Undocumented
Method recv_stderr Undocumented
Method sendall Undocumented
Method _get_child_mock Undocumented
def __init__(self, *args, **kwargs): (source)

Undocumented

def recv(self, count): (source)

Undocumented

def recv_stderr(self, count): (source)

Undocumented

def sendall(self, data): (source)

Undocumented

def _get_child_mock(self, **kwargs): (source)

Undocumented