/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: Canonical.com Patch Queue Manager
  • Date: 2007-04-01 06:48:38 UTC
  • mfrom: (2389.1.1 0.15-to-trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20070401064838-34903c7b0d0c8007
merge 0.15 back to 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.