/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_http.py

merge trailing whitespace removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
 
174
174
class RecordingServer(object):
175
175
    """A fake HTTP server.
176
 
    
 
176
 
177
177
    It records the bytes sent to it, and replies with a 200.
178
178
    """
179
179
 
812
812
        # bytes on the socket
813
813
        ireadv = iter(t.readv('a', ((0, 1), (1, 1), (2, 4), (6, 4))))
814
814
        self.assertEqual((0, '0'), ireadv.next())
815
 
        # The server should have issued one request so far 
 
815
        # The server should have issued one request so far
816
816
        self.assertEqual(1, server.GET_request_nb)
817
817
        self.assertEqual('0123456789', t.get_bytes('a'))
818
818
        # get_bytes issued an additional request, the readv pending ones are