Lines Matching refs:unittest
7 import unittest
10 class Test_TestResult(unittest.TestCase):
21 result = unittest.TestResult()
36 result = unittest.TestResult()
45 class Foo(unittest.TestCase):
51 result = unittest.TestResult()
66 class Foo(unittest.TestCase):
72 result = unittest.TestResult()
93 result = unittest.TestResult()
117 class Foo(unittest.TestCase):
123 result = unittest.TestResult()
156 class Foo(unittest.TestCase):
166 result = unittest.TestResult()
204 class Foo(unittest.TestCase):
214 result = unittest.TestResult()
231 result = unittest.TextTestResult(None, True, 1)
237 @unittest.skipIf(sys.flags.optimize >= 2,
241 result = unittest.TextTestResult(None, True, 1)
248 @unittest.skipIf(sys.flags.optimize >= 2,
254 result = unittest.TextTestResult(None, True, 1)
266 result = unittest.TestResult()
273 result = unittest.TestResult()
279 result = unittest.TestResult()
285 result = unittest.TestResult()
292 runner = unittest.TextTestRunner(stream=StringIO(), failfast=True)
298 classDict = dict(unittest.TestResult.__dict__)
313 class Test_OldTestResult(unittest.TestCase):
323 class Test(unittest.TestCase):
326 @unittest.expectedFailure
329 @unittest.expectedFailure
340 class Test(unittest.TestCase):
348 @unittest.skip('no reason')
349 class Test(unittest.TestCase):
355 class Test(unittest.TestCase):
358 runner = unittest.TextTestRunner(resultclass=OldResult,
371 unittest.result.traceback = traceback
374 class TestOutputBuffering(unittest.TestCase):
388 result = unittest.TestResult()
403 result = unittest.TestResult()
448 result = unittest.TestResult()
454 unittest.result.traceback = MockTraceback
500 result = unittest.TestResult()
503 class Foo(unittest.TestCase):
509 suite = unittest.TestSuite([Foo('test_foo')])
514 result = unittest.TestResult()
517 class Foo(unittest.TestCase):
523 suite = unittest.TestSuite([Foo('test_foo')])
528 result = unittest.TestResult()
531 class Foo(unittest.TestCase):
542 suite = unittest.TestSuite([Foo('test_foo')])
547 result = unittest.TestResult()
550 class Foo(unittest.TestCase):
561 suite = unittest.TestSuite([Foo('test_foo')])
567 unittest.main()