'Test that calls can have their time reset to a later time.'

def testCallLaterResetLater(self):

    events = []
    c = task.Clock()
    call = c.callLater(2, (lambda a, b: events.append((a, b))), 1, b=2)
    c.advance(1)
    call.reset(3)
    self.assertEqual(call.getTime(), 4)
    c.advance(2)
    self.assertEqual(events, [])
    c.advance(1)
    self.assertEqual(events, [(1, 2)])
