#NEWLINE# def test_resetDelayedCall( self ) : #NEWLINE# #INDENT# '\n        If a delayed call is reset, the timeout passed to C{doIteration} is\n        based on the interval between the time when reset is called and the\n        new delay of the call.\n        ' #NEWLINE# reactor = TimeoutReportReactor ( ) #NEWLINE# call = reactor . callLater ( 50 , ( lambda : None ) ) #NEWLINE# reactor . now += 25 #NEWLINE# call . reset ( 15 ) #NEWLINE# timeout = self . _checkIterationTimeout ( reactor ) #NEWLINE# self . assertEquals ( timeout , 15 )