• Home
  • Raw
  • Download

Lines Matching refs:unittest

8 import unittest
9 from unittest.util import strclass
23 unittest.result.traceback = traceback
52 class Test_TestResult(unittest.TestCase):
63 result = unittest.TestResult()
77 result = unittest.TestResult()
86 class Foo(unittest.TestCase):
92 result = unittest.TestResult()
107 class Foo(unittest.TestCase):
113 result = unittest.TestResult()
134 result = unittest.TestResult()
158 class Foo(unittest.TestCase):
164 result = unittest.TestResult()
197 class Foo(unittest.TestCase):
207 result = unittest.TestResult()
224 class Foo(unittest.TestCase):
239 result = unittest.TestResult()
250 class Foo(unittest.TestCase):
268 result = unittest.TestResult()
300 class Foo(unittest.TestCase):
310 result = unittest.TestResult()
327 class Foo(unittest.TestCase):
332 result = unittest.TestResult()
335 unittest.result.traceback = MockTraceback
346 class Foo(unittest.TestCase):
362 result = unittest.TestResult()
380 result = unittest.TextTestResult(None, True, 1)
388 result = unittest.TextTestResult(None, True, 1)
394 result = unittest.TextTestResult(None, True, 1)
402 result = unittest.TextTestResult(None, True, 1)
410 result = unittest.TextTestResult(None, True, 1)
421 result = unittest.TextTestResult(None, True, 1)
430 result = unittest.TextTestResult(None, True, 1)
436 @unittest.skipIf(sys.flags.optimize >= 2,
440 result = unittest.TextTestResult(None, True, 1)
447 @unittest.skipIf(sys.flags.optimize >= 2,
451 result = unittest.TextTestResult(None, True, 1)
459 @unittest.skipIf(sys.flags.optimize >= 2,
465 result = unittest.TextTestResult(None, True, 1)
473 @unittest.skipIf(sys.flags.optimize >= 2,
479 result = unittest.TextTestResult(None, True, 1)
492 result = unittest.TestResult()
499 result = unittest.TestResult()
505 result = unittest.TestResult()
511 result = unittest.TestResult()
519 runner = unittest.TextTestRunner(stream=stream, failfast=True)
527 classDict = dict(unittest.TestResult.__dict__)
543 class Test_OldTestResult(unittest.TestCase):
553 class Test(unittest.TestCase):
556 @unittest.expectedFailure
559 @unittest.expectedFailure
570 class Test(unittest.TestCase):
578 @unittest.skip('no reason')
579 class Test(unittest.TestCase):
585 class Test(unittest.TestCase):
588 runner = unittest.TextTestRunner(resultclass=OldResult,
595 class TestOutputBuffering(unittest.TestCase):
609 result = unittest.TestResult()
624 result = unittest.TestResult()
669 result = unittest.TestResult()
675 unittest.result.traceback = MockTraceback
723 result = unittest.TestResult()
726 class Foo(unittest.TestCase):
732 suite = unittest.TestSuite([Foo('test_foo')])
745 result = unittest.TestResult()
748 class Foo(unittest.TestCase):
754 suite = unittest.TestSuite([Foo('test_foo')])
767 result = unittest.TestResult()
770 class Foo(unittest.TestCase):
777 suite = unittest.TestSuite([Foo('test_foo')])
796 result = unittest.TestResult()
799 class Foo(unittest.TestCase):
807 suite = unittest.TestSuite([Foo('test_foo')])
834 result = unittest.TestResult()
837 class Foo(unittest.TestCase):
847 suite = unittest.TestSuite([Foo('test_foo')])
874 result = unittest.TestResult()
877 class Foo(unittest.TestCase):
884 suite = unittest.TestSuite([Foo('test_foo')])
897 result = unittest.TestResult()
900 class Foo(unittest.TestCase):
907 suite = unittest.TestSuite([Foo('test_foo')])
920 result = unittest.TestResult()
923 class Foo(unittest.TestCase):
934 suite = unittest.TestSuite([Foo('test_foo')])
953 result = unittest.TestResult()
956 class Foo(unittest.TestCase):
965 suite = unittest.TestSuite([Foo('test_foo')])
992 result = unittest.TestResult()
995 class Foo(unittest.TestCase):
1007 suite = unittest.TestSuite([Foo('test_foo')])
1034 result = unittest.TestResult()
1037 class Foo(unittest.TestCase):
1049 suite = unittest.TestSuite([Foo('test_foo')])
1062 result = unittest.TestResult()
1065 class Foo(unittest.TestCase):
1077 suite = unittest.TestSuite([Foo('test_foo')])
1090 result = unittest.TestResult()
1093 class Foo(unittest.TestCase):
1100 unittest.addModuleCleanup(bad_cleanup1)
1101 unittest.addModuleCleanup(bad_cleanup2)
1106 suite = unittest.TestSuite([Foo('test_foo')])
1120 result = unittest.TestResult()
1123 class Foo(unittest.TestCase):
1130 unittest.addModuleCleanup(bad_cleanup1)
1131 unittest.addModuleCleanup(bad_cleanup2)
1137 suite = unittest.TestSuite([Foo('test_foo')])
1159 result = unittest.TestResult()
1162 class Foo(unittest.TestCase):
1169 unittest.addModuleCleanup(bad_cleanup1)
1170 unittest.addModuleCleanup(bad_cleanup2)
1179 suite = unittest.TestSuite([Foo('test_foo')])
1200 unittest.main()