'Returns unhelpful votes within time range'

def test_old_articles(self):

    r = _make_backdated_revision(10)
    for x in range(4):
        _add_vote_in_past(r, 0, 10)
    _add_vote_in_past(r, 1, 10)
    result = _get_old_unhelpful()
    eq_(1, len(result))
    self.assertAlmostEqual(0.2, result[r.document.id]['percentage'])
    eq_(5, result[r.document.id]['total'])
