(self)
| 142 | # unittest.TestResult; subclasses of TestCase should |
| 143 | # override this as necessary." |
| 144 | def test_defaultTestResult(self): |
| 145 | class Foo(unittest.TestCase): |
| 146 | def runTest(self): |
| 147 | pass |
| 148 | |
| 149 | result = Foo().defaultTestResult() |
| 150 | self.assertEqual(type(result), unittest.TestResult) |
| 151 | |
| 152 | # "When a setUp() method is defined, the test runner will run that method |
| 153 | # prior to each test. Likewise, if a tearDown() method is defined, the |
nothing calls this directly
no test coverage detected