def add_response(self, response, operation, url, data=None, headers=None):
    request = MockRequest(operation, url, data=data, headers=headers)
    self.recordings.append((request, response))
Adds a request-response pair to the recordings list.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/atom/mock_http.py/MockHttpClient.add_response