'L{reactor.callLater<twisted.internet.interfaces.IReactorTime.callLater>}
should propagate its own seconds factory
to the DelayedCall to use as its own seconds factory.'

def test_callLaterUsesReactorSecondsAsDelayedCallSecondsFactory(self):

    oseconds = reactor.seconds
    reactor.seconds = (lambda : 100)
    try:
        call = reactor.callLater(5, (lambda : None))
        self.assertEqual(call.seconds(), 100)
    finally:
        reactor.seconds = oseconds
    call.cancel()
