'the basic response handler times out when receiving requests'

def test_requests_after_timeout_are_not_received(self):

    server = Server.basic_response_server(request_timeout=1)
    with server as address:
        sock = socket.socket()
        sock.connect(address)
        time.sleep(1.5)
        sock.sendall('hehehe,    not    received')
        sock.close()
    assert (server.handler_results[0] == '')
