Lines Matching refs:result
190 # "Run the tests associated with this suite, collecting the result into
191 # the test result object passed as result."
196 result = LoggingResult(events)
200 suite.run(result)
205 # "result object to be passed in."
216 # "Run the tests associated with this suite, collecting the result into
217 # the test result object passed as result."
220 result = LoggingResult(events)
223 def run(self, result):
231 unittest.TestSuite(tests).run(result)
416 result = unittest.TestResult()
417 suite.run(result)
422 self.assertEqual(len(result.errors), 1)
423 self.assertEqual(len(result.failures), 0)
424 self.assertEqual(result.testsRun, 2)
436 result = unittest.TestResult()
439 wrapper(result)
443 self.assertFalse(result._testRunEntered)