(self, test_name, verbosity, tearDownError=None)
| 612 | raise self.tearDownError |
| 613 | |
| 614 | def _run_test(self, test_name, verbosity, tearDownError=None): |
| 615 | stream = BufferedWriter() |
| 616 | stream = unittest.runner._WritelnDecorator(stream) |
| 617 | result = unittest.TextTestResult(stream, True, verbosity) |
| 618 | test = self.Test(test_name) |
| 619 | test.tearDownError = tearDownError |
| 620 | test.run(result) |
| 621 | return stream.getvalue() |
| 622 | |
| 623 | def testDotsOutput(self): |
| 624 | self.assertEqual(self._run_test('testSuccess', 1), '.') |
no test coverage detected