/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

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1578
1578
            'Content-Length: 6\r\n'
1579
1579
            '\r\n'
1580
1580
            'hello\n')
1581
 
        request_handler = SmartRequestHandler(
1582
 
            socket, ('localhost', 80), httpd)
 
1581
        # Beware: the ('localhost', 80) below is the
 
1582
        # client_address parameter, but we don't have one because
 
1583
        # we have defined a socket which is not bound to an
 
1584
        # address. The test framework never uses this client
 
1585
        # address, so far...
 
1586
        request_handler = SmartRequestHandler(socket, ('localhost', 80), httpd)
1583
1587
        response = socket.writefile.getvalue()
1584
1588
        self.assertStartsWith(response, 'HTTP/1.0 200 ')
1585
1589
        # This includes the end of the HTTP headers, and all the body.