def _outputFromVerboseTest(self):
class FakeCase(unittest.TestCase):<EOL><INDENT>def runTest(self):<EOL><INDENT>pass<EOL><DEDENT><DEDENT>self.args.verbose = <NUM_LIT:2><EOL>gtr = GreenTestResult(self.args, GreenStream(self.stream))<EOL>tc = FakeCase()<EOL>gtr.startTest(tc)<EOL>output = self.stream.getvalue()<EOL>return output.split('<STR_LIT:\n>')<EOL>
Start a test with verbose = 2 and get its output.