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

Method test_outputbuffer_no_lines

test/test_outputbuffer.py:10–15  ·  view source on GitHub ↗
(self, output_spy)

Source from the content-addressed store, hash-verified

8 self.OutputBuffer = ssh_audit.OutputBuffer
9
10 def test_outputbuffer_no_lines(self, output_spy):
11 output_spy.begin()
12 obuf = self.OutputBuffer()
13 obuf.write()
14 assert output_spy.flush() == ['']
15 output_spy.begin()
16
17 def test_outputbuffer_defaults(self):
18 obuf = self.OutputBuffer()

Callers

nothing calls this directly

Calls 3

writeMethod · 0.95
beginMethod · 0.80
flushMethod · 0.80

Tested by

no test coverage detected