(self)
| 45 | ################################################################ |
| 46 | |
| 47 | def test_init(self): |
| 48 | result = unittest.TestResult() |
| 49 | |
| 50 | self.assertTrue(result.wasSuccessful()) |
| 51 | self.assertEqual(len(result.errors), 0) |
| 52 | self.assertEqual(len(result.failures), 0) |
| 53 | self.assertEqual(result.testsRun, 0) |
| 54 | self.assertEqual(result.shouldStop, False) |
| 55 | self.assertIsNone(result._stdout_buffer) |
| 56 | self.assertIsNone(result._stderr_buffer) |
| 57 | |
| 58 | # "This method can be called to signal that the set of tests being |
| 59 | # run should be aborted by setting the TestResult's shouldStop |
nothing calls this directly
no test coverage detected