~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-09-08 06:59:26 UTC
  • mfrom: (4678.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090908065926-at5dgy2j2spzl8u5
(vila) More test fixes for FreeBSD passing the full test suite

Show diffs side-by-side

added added

removed removed

Lines of Context:
732
732
        client_sock.sendall(rest_of_request_bytes)
733
733
        server._serve_one_request(server_protocol)
734
734
        server_sock.close()
735
 
        self.assertEqual(expected_response, client_sock.recv(50),
 
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))
738
738