'If L{ftp.DTPFactory.clientConnectionFailed} is called after the timeout
specified by L{ftp.DTPFactory.setTimeout} has elapsed, nothing beyond
the normal timeout before happens.'

def test_connectionFailedAfterTimeout(self):

    d = self.assertFailure(self.factory.deferred, ftp.PortConnectionError)
    self.factory.setTimeout(10)
    self.reactor.advance(10)
    self.factory.clientConnectionFailed(None, defer.TimeoutError('foo'))
    return d
