(self, output_spy)
| 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() |