A TestResult implementation which records its method calls.
| 95 | |
| 96 | |
| 97 | class LoggingResult(_BaseLoggingResult): |
| 98 | """ |
| 99 | A TestResult implementation which records its method calls. |
| 100 | """ |
| 101 | |
| 102 | def addSubTest(self, test, subtest, err): |
| 103 | if err is None: |
| 104 | self._events.append('addSubTestSuccess') |
| 105 | else: |
| 106 | self._events.append('addSubTestFailure') |
| 107 | super().addSubTest(test, subtest, err) |
| 108 | |
| 109 | |
| 110 | class ResultWithNoStartTestRunStopTestRun(object): |
no outgoing calls
searching dependent graphs…