MCPcopy
hub / github.com/jtesta/ssh-audit / send

Method send

test/conftest.py:138–142  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

136 return data
137
138 def send(self, data):
139 if self.peer_address is None or not self._connected:
140 raise OSError(32, 'Broken pipe')
141 self._check_err('send')
142 self.sdata.append(data)
143
144
145@pytest.fixture()

Callers 1

Calls 1

_check_errMethod · 0.95

Tested by

no test coverage detected