'Articles with the How to contribute category should not be counted.'

def test_not_counting_how_to_contribute(self):

    t = TranslatedRevisionFactory(document__locale='de', is_approved=True)
    overview = l10n_overview_rows('de')
    eq_(1, overview['all']['numerator'])
    eq_(1, overview['top-20']['numerator'])
    eq_(1, overview['top-50']['numerator'])
    eq_(1, overview['top-100']['numerator'])
    d = t.document.parent
    d.category = HOW_TO_CONTRIBUTE_CATEGORY
    d.save()
    overview = l10n_overview_rows('de')
    eq_(0, overview['all']['numerator'])
    eq_(0, overview['top-20']['numerator'])
    eq_(0, overview['top-50']['numerator'])
    eq_(0, overview['top-100']['numerator'])
