732
732
client_sock.sendall(rest_of_request_bytes)
733
733
server._serve_one_request(server_protocol)
735
self.assertEqual(expected_response, osutils.recv_all(client_sock, 50),
736
736
"Not a version 2 response to 'hello' request.")
737
737
self.assertEqual('', client_sock.recv(1))