def METHOD_NAME(self, data):
    from_ago, to_ago, with_acquisitionDate, success = data
    self.mkimage(with_acquisitionDate=with_acquisitionDate)
    short = self.short()
    args = ["Image", short + "*"]
    if from_ago:
        args += ["--from=%s" % self.days_ago(from_ago)]
    if to_ago:
        args += ["--to=%s" % self.days_ago(to_ago)]
    args += ["--date-type=acquisitionDate"]
    self.assertSearch(args, success=success)