| 260 | |
| 261 | def test_logging(self): |
| 262 | class MockLogging(object): |
| 263 | def __init__(self): |
| 264 | self.info_record = [] |
| 265 | self.debug_record = [] |
| 266 | |
| 267 | def info(self, message, *args): |
| 268 | self.info_record.append(message % args) |
| 269 | |
| 270 | def debug(self, message, *args): |
| 271 | self.debug_record.append(message % args) |
| 272 | |
| 273 | class MockResponse(dict): |
| 274 | def __init__(self, items): |
no outgoing calls
searching dependent graphs…