'When a non-zero timeout is passed to L{getPage} and that many
seconds elapse before the server responds to the request. the
L{Deferred} is errbacked with a L{error.TimeoutError}.'

def test_timeoutTriggering(self):

    self.cleanupServerConnections = 1
    return self.assertFailure(client.getPage(self.getURL('wait'), timeout=1e-06), defer.TimeoutError)
