def setUp(self): self.stream = StringIO.StringIO() self.runner = runner.TrialRunner(CapturingReporter, stream=self.stream) self.test = TestTrialRunner('test_empty')
def setUp(self): UntilFailureTests.setUp(self) self.runner = runner.TrialRunner(reporter.Reporter, stream=self.stream, uncleanWarnings=True)
def setUp(self): UntilFailureTests.FailAfter.count = [] self.test = UntilFailureTests.FailAfter('test_foo') self.stream = NativeStringIO() self.runner = runner.TrialRunner(reporter.Reporter, stream=self.stream)
def setUp(self): self.stream = NativeStringIO() self.runner = runner.TrialRunner(CapturingReporter, stream=self.stream, uncleanWarnings=True) self.test = TrialRunnerTests('test_empty')
def setUp(self): TestUntilFailure.FailAfter.count = [] self.test = TestUntilFailure.FailAfter('test_foo') self.stream = StringIO.StringIO() self.runner = runner.TrialRunner(reporter.Reporter, stream=self.stream)
def Run(): return runner.TrialRunner( reporter.TextReporter, tracebackFormat='default', ).run(GetTestSuite())