'Test that the C{seconds} argument to DelayedCall gets used instead of
the default timing function, if it is not None.'

def testDelayedCallSecondsOverride(self):

    def seconds():
        return 10
    dc = base.DelayedCall(5, (lambda : None), (), {}, (lambda dc: None), (lambda dc: None), seconds)
    self.assertEqual(dc.getTime(), 5)
    dc.reset(3)
    self.assertEqual(dc.getTime(), 13)
