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

Method test_reset

test/test_buffer.py:136–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

134 assert mpint2r(self._b('00 00 00 02 ff 80')) == -0x80
135
136 def test_reset(self):
137 w = self.wbuf()
138 w.write_int(7)
139 w.write_int(13)
140 assert len(w.write_flush()) == 8
141
142 w.write_int(7)
143 w.write_int(13)
144 w.reset()
145 assert len(w.write_flush()) == 0

Callers

nothing calls this directly

Calls 3

write_intMethod · 0.80
write_flushMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected