MCPcopy Index your code
hub / github.com/jtesta/ssh-audit / test_recv_empty

Method test_recv_empty

test/test_errors.py:66–69  ·  view source on GitHub ↗
(self, output_spy, virtual_socket)

Source from the content-addressed store, hash-verified

64 assert 'timed out' in lines[-1]
65
66 def test_recv_empty(self, output_spy, virtual_socket):
67 lines = self._audit(output_spy)
68 assert len(lines) == 1
69 assert 'did not receive banner' in lines[-1]
70
71 def test_recv_timeout(self, output_spy, virtual_socket):
72 vsocket = virtual_socket

Callers

nothing calls this directly

Calls 1

_auditMethod · 0.95

Tested by

no test coverage detected