'Test that pipelined requests get buffered, not processed in parallel.'

def test_noPipelining(self):

    b = StringTransport()
    a = http.HTTPChannel()
    a.requestFactory = DelayedHTTPHandlerProxy
    a.makeConnection(b)
    for byte in iterbytes(self.requests):
        a.dataReceived(byte)
    value = b.value()
    self.assertEqual(value, '')
    self.assertEqual(1, len(a.requests))
    while a.requests:
        self.assertEqual(1, len(a.requests))
        request = a.requests[0].original
        request.delayedProcess()
    value = b.value()
    self.assertResponseEquals(value, self.expected_response)
