'If the timeout indicated by the C{timeout} parameter to
L{client.HTTPDownloader.__init__} elapses without the complete response
being received, the L{defer.Deferred} returned by
L{client.downloadPage} fires with a L{Failure} wrapping a
L{defer.TimeoutError}, even if the remote peer isn\'t reading data from
the socket.'

def test_downloadTimeoutsWorkWithoutReading(self):

    self.cleanupServerConnections = 1
    d = client.downloadPage(self.getURL('never-read'), self.mktemp(), timeout=0.05)
    return self.assertFailure(d, defer.TimeoutError)
