'If the L{HTTPChannel} has its c{abortTimeout} set to L{None}, it never
aborts.'

def test_transportNotAbortedWithZeroAbortTimeout(self):

    clock = Clock()
    transport = StringTransport()
    factory = http.HTTPFactory()
    protocol = factory.buildProtocol(None)
    protocol._channel.abortTimeout = None
    protocol = parametrizeTimeoutMixin(protocol, clock)
    protocol.makeConnection(transport)
    protocol.dataReceived('POST    /    HTTP/1.0\r\nContent-Length:    2\r\n\r\n')
    self.assertFalse(transport.disconnecting)
    self.assertFalse(transport.disconnected)
    clock.advance(60)
    self.assertTrue(transport.disconnecting)
    self.assertFalse(transport.disconnected)
    clock.advance((2 ** 32))
    self.assertTrue(transport.disconnecting)
    self.assertFalse(transport.disconnected)
