| 328 | |
| 329 | |
| 330 | class MockHTTPResponse(io.IOBase): |
| 331 | def __init__(self, fp, msg, status, reason): |
| 332 | self.fp = fp |
| 333 | self.msg = msg |
| 334 | self.status = status |
| 335 | self.reason = reason |
| 336 | self.code = 200 |
| 337 | |
| 338 | def read(self): |
| 339 | return '' |
| 340 | |
| 341 | def info(self): |
| 342 | return {} |
| 343 | |
| 344 | def geturl(self): |
| 345 | return self.url |
| 346 | |
| 347 | |
| 348 | class MockHTTPClass: |
no outgoing calls
searching dependent graphs…