| 909 | |
| 910 | |
| 911 | class Callbacks(object): |
| 912 | def __init__(self): |
| 913 | self.responses = {} |
| 914 | self.exceptions = {} |
| 915 | |
| 916 | def f(self, request_id, response, exception): |
| 917 | self.responses[request_id] = response |
| 918 | self.exceptions[request_id] = exception |
| 919 | |
| 920 | |
| 921 | class TestHttpRequest(unittest.TestCase): |
no outgoing calls
searching dependent graphs…