

def setUp(self):
    self.__fake_socket = FakeSocket()
    self.__fake_run_state = FakeRunState()
    self.__last_request = None
    parser = LineRequestParser(10)
    request_stream = RequestStream(parser.__fake_socket, parser.parse_request, max_buffer_size=10, max_request_size=10)
    self.__fake_handler = ConnectionProcessor(request_stream, self.execute_request, self.__fake_run_state, 5.0)
    self.__fake_time = 0.0

dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/monitor_utils/tests/server_processors_test.py TestConnectionHandler.setUp/VarMisuse@43/60 `self`->`parser`