'Wait up to `delay` sec to assure that it was modified or not'

def waitForTicks(self, ticks, delay=2.0):

    last_ticks = self.filter.ticks
    return Utils.wait_for((lambda : (self.filter.ticks >= (last_ticks + ticks))), _maxWaitTime(delay))
