Lines Matching refs:unittest

8 import unittest
22 unittest.result.traceback = traceback
25 class Test_TestResult(unittest.TestCase):
36 result = unittest.TestResult()
50 result = unittest.TestResult()
59 class Foo(unittest.TestCase):
65 result = unittest.TestResult()
80 class Foo(unittest.TestCase):
86 result = unittest.TestResult()
107 result = unittest.TestResult()
131 class Foo(unittest.TestCase):
137 result = unittest.TestResult()
170 class Foo(unittest.TestCase):
180 result = unittest.TestResult()
218 class Foo(unittest.TestCase):
228 result = unittest.TestResult()
245 class Foo(unittest.TestCase):
250 result = unittest.TestResult()
253 unittest.result.traceback = MockTraceback
264 class Foo(unittest.TestCase):
280 result = unittest.TestResult()
298 result = unittest.TextTestResult(None, True, 1)
306 result = unittest.TextTestResult(None, True, 1)
312 result = unittest.TextTestResult(None, True, 1)
320 result = unittest.TextTestResult(None, True, 1)
328 result = unittest.TextTestResult(None, True, 1)
339 result = unittest.TextTestResult(None, True, 1)
348 result = unittest.TextTestResult(None, True, 1)
354 @unittest.skipIf(sys.flags.optimize >= 2,
358 result = unittest.TextTestResult(None, True, 1)
365 @unittest.skipIf(sys.flags.optimize >= 2,
369 result = unittest.TextTestResult(None, True, 1)
377 @unittest.skipIf(sys.flags.optimize >= 2,
383 result = unittest.TextTestResult(None, True, 1)
391 @unittest.skipIf(sys.flags.optimize >= 2,
397 result = unittest.TextTestResult(None, True, 1)
410 result = unittest.TestResult()
417 result = unittest.TestResult()
423 result = unittest.TestResult()
429 result = unittest.TestResult()
436 runner = unittest.TextTestRunner(stream=io.StringIO(), failfast=True)
442 classDict = dict(unittest.TestResult.__dict__)
458 class Test_OldTestResult(unittest.TestCase):
468 class Test(unittest.TestCase):
471 @unittest.expectedFailure
474 @unittest.expectedFailure
485 class Test(unittest.TestCase):
493 @unittest.skip('no reason')
494 class Test(unittest.TestCase):
500 class Test(unittest.TestCase):
503 runner = unittest.TextTestRunner(resultclass=OldResult,
510 class TestOutputBuffering(unittest.TestCase):
524 result = unittest.TestResult()
539 result = unittest.TestResult()
584 result = unittest.TestResult()
590 unittest.result.traceback = MockTraceback
637 result = unittest.TestResult()
640 class Foo(unittest.TestCase):
646 suite = unittest.TestSuite([Foo('test_foo')])
651 result = unittest.TestResult()
654 class Foo(unittest.TestCase):
660 suite = unittest.TestSuite([Foo('test_foo')])
665 result = unittest.TestResult()
668 class Foo(unittest.TestCase):
679 suite = unittest.TestSuite([Foo('test_foo')])
684 result = unittest.TestResult()
687 class Foo(unittest.TestCase):
698 suite = unittest.TestSuite([Foo('test_foo')])
704 unittest.main()