All Samples(111) | Call(7) | Derive(77) | Import(27)
A test result class that can print formatted text results to a stream. Used by TextTestRunner.
src/b/a/badger-lib-HEAD/packages/Pygments/tests/old_run.py badger-lib(Download)
def run(self, test):
global total_test_count
global error_test_count
result = unittest._TextTestResult(self.stream, True, 1)
test(result)
if not result.wasSuccessful():
self.stream.write(' FAIL:')
src/p/o/polinax-HEAD/libs/external_libs/Pygments-0.11.1/tests/run.py polinax(Download)
def run(self, test):
global total_test_count
global error_test_count
result = unittest._TextTestResult(self.stream, True, 1)
test(result)
if not result.wasSuccessful():
self.stream.write(' FAIL:')
src/n/o/noc-0.5/contrib/src/Pygments/tests/old_run.py noc(Download)
def run(self, test):
global total_test_count
global error_test_count
result = unittest._TextTestResult(self.stream, True, 1)
test(result)
if not result.wasSuccessful():
self.stream.write(' FAIL:')
src/o/b/obspy-HEAD/obspy.core/trunk/obspy/core/scripts/runtests.py obspy(Download)
def _makeResult(self):
return unittest._TextTestResult(self.stream, self.descriptions,
self.verbosity)
def run(self, suites):
"Run the given test case or test suite."
startTime = time.time()
src/p/y/pygments-HEAD/tests/old_run.py pygments(Download)
def run(self, test):
global total_test_count
global error_test_count
result = unittest._TextTestResult(self.stream, True, 1)
test(result)
if not result.wasSuccessful():
self.stream.write(' FAIL:')
src/o/b/obspy.core-0.4.0/obspy/core/scripts/runtests.py obspy.core(Download)
def _makeResult(self):
return unittest._TextTestResult(self.stream, self.descriptions,
self.verbosity)
def run(self, suites):
"Run the given test case or test suite."
startTime = time.time()
src/p/y/Pygments-1.3.1/tests/old_run.py Pygments(Download)
def run(self, test):
global total_test_count
global error_test_count
result = unittest._TextTestResult(self.stream, True, 1)
test(result)
if not result.wasSuccessful():
self.stream.write(' FAIL:')