/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Aaron Bentley
  • Date: 2007-04-02 17:18:11 UTC
  • mfrom: (2392 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2393.
  • Revision ID: abentley@panoramicfeedback.com-20070402171811-bz7y2b2h1m1k4n7x
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1478
1478
            'Content-Length: 6\r\n'
1479
1479
            '\r\n'
1480
1480
            'hello\n')
1481
 
        request_handler = SmartRequestHandler(
1482
 
            socket, ('localhost', 80), httpd)
 
1481
        # Beware: the ('localhost', 80) below is the
 
1482
        # client_address parameter, but we don't have one because
 
1483
        # we have defined a socket which is not bound to an
 
1484
        # address. The test framework never uses this client
 
1485
        # address, so far...
 
1486
        request_handler = SmartRequestHandler(socket, ('localhost', 80), httpd)
1483
1487
        response = socket.writefile.getvalue()
1484
1488
        self.assertStartsWith(response, 'HTTP/1.0 200 ')
1485
1489
        # This includes the end of the HTTP headers, and all the body.