'Prompt to localize an article is shown when there are no pending localizations.'

def test_document_fallback_no_translation_ready_for_l10n(self):

    r = ApprovedRevisionFactory(content='Some    text.', is_ready_for_localization=True)
    url = reverse('wiki.document', args=[r.document.slug], locale='de')
    response = self.client.get(url)
    doc = pq(response.content)
    eq_(1, len(doc('#doc-pending-fallback')))
