'Verify that redirects aren\'t counted in the overview.'

def test_redirects_are_ignored(self):

    TranslatedRevisionFactory(document__locale='de', is_approved=True)
    eq_(1, l10n_overview_rows('de')['all']['numerator'])
    RedirectRevisionFactory(document__is_localizable=True, document__is_template=True, is_ready_for_localization=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'])
