def test_handle_request(self):
        self.protocol.send_response = self.mock_send_response
        self.protocol.send_error = self.mock_send_error
        self.protocol.handle_request(0, 0, "add", (1, 2), {})
        self.assertTrue(self.response == (0, 3))
dataset/ETHPy150Open bfrog/whizzer/whizzer/test/test_rpc_pickle.py/TestPickleProtocol.test_handle_request/original