def _add_vote_in_past(rev, vote, days_back):
    HelpfulVoteFactory(
        revision=rev,
        helpful=vote,
        created=date.today() - timedelta(days=days_back))
dataset/ETHPy150Open mozilla/kitsune/kitsune/dashboards/tests/test_cron.py/_add_vote_in_past/original