| 5043 | |
| 5044 | |
| 5045 | class RecordingHandler(logging.NullHandler): |
| 5046 | |
| 5047 | def __init__(self, *args, **kwargs): |
| 5048 | super(RecordingHandler, self).__init__(*args, **kwargs) |
| 5049 | self.records = [] |
| 5050 | |
| 5051 | def handle(self, record): |
| 5052 | """Keep track of all the emitted records.""" |
| 5053 | self.records.append(record) |
| 5054 | |
| 5055 | |
| 5056 | class ShutdownTest(BaseTest): |
no outgoing calls
searching dependent graphs…