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

Method test_outputbuffer_sep

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

Source from the content-addressed store, hash-verified

85 assert output_spy.flush() in [['\x1b[0;31mfail color\x1b[0m'], ['\x1b[0;91mfail color\x1b[0m']]
86
87 def test_outputbuffer_sep(self, output_spy):
88 out = self.OutputBuffer()
89 output_spy.begin()
90 out.sep()
91 out.sep()
92 out.sep()
93 out.write()
94 assert output_spy.flush() == ['', '', '']
95
96 def test_outputbuffer_levels(self):
97 out = self.OutputBuffer()

Callers

nothing calls this directly

Calls 4

sepMethod · 0.95
writeMethod · 0.95
beginMethod · 0.80
flushMethod · 0.80

Tested by

no test coverage detected