'Cron should get the unhelpful articles.'

def test_caching_unhelpful(self):

    r = _make_backdated_revision(90)
    for x in range(0, 3):
        _add_vote_in_past(r, 0, 3)
    for x in range(0, 2):
        _add_vote_in_past(r, 1, 3)
    cache_most_unhelpful_kb_articles()
    eq_(1, self.redis.llen(self.REDIS_KEY))
    result = self.redis.lrange(self.REDIS_KEY, 0, 1)
    eq_((u'%d::%.1f::%.1f::%.1f::%.1f::%s::%s' % (r.document.id, 5.0, 0.4, 0.0, 0.0, r.document.slug, r.document.title)), result[0].decode('utf-8'))
