'Test that calls can be cancelled.'

def testCallLaterCancelled(self):

    c = task.Clock()
    call = c.callLater(1, (lambda a, b: None), 1, b=2)
    call.cancel()
    self.assertFalse(call.active())
