'Translations with no ready revs don\'t count in numerator
By dint of factoring, this also tests that templates whose
parents....'

def test_counting_unready_parents(self):

    parent_rev = RevisionFactory(document__is_localizable=True, is_approved=True, is_ready_for_localization=False)
    translation = DocumentFactory(parent=parent_rev.document, locale='de', is_localizable=False)
    RevisionFactory(document=translation, is_approved=True, based_on=parent_rev)
    eq_(0, l10n_overview_rows('de')['all']['numerator'])
