def setUp(self): self.stream = StreamStub() self.monitor = CommandLineMonitor(width=16, colors='off', stdout=self.stream, stderr=self.stream) self.monitor.start_test(Stub())
def setUp(self, markers='AUTO', isatty=True): self.stream = StreamStub(isatty) self.monitor = CommandLineMonitor(width=16, colors='off', markers=markers, stdout=self.stream, stderr=self.stream) self.monitor.start_test(Stub())