class documentation

Data record specifying params of a command execution to mock/expect. :param str cmd: Command string to expect. If not given, no expectations about the command executed will be set up. Default: ``None``. :param bytes out: Data yielded as remote stdout. Default: ``b""``. :param bytes err: Data yielded as remote stderr. Default: ``b""``. :param int exit: Remote exit code. Default: ``0``. :param int waits: Number of calls to the channel's ``exit_status_ready`` that should return ``False`` before it then returns ``True``. Default: ``0`` (``exit_status_ready`` will return ``True`` immediately). .. versionadded:: 2.1

Method __init__ Undocumented
Method __repr__ Undocumented
Method expect_execution Assert that the ``channel`` was used to run this command.
Instance Variable cmd Undocumented
Instance Variable err Undocumented
Instance Variable exit Undocumented
Instance Variable in_ Undocumented
Instance Variable out Undocumented
Instance Variable waits Undocumented
def __init__(self, cmd=None, out=b'', err=b'', in_=None, exit=0, waits=0): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def expect_execution(self, channel): (source)

Assert that the ``channel`` was used to run this command. .. versionadded:: 2.7

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented