'The document template falls back to English if no translation
exists.'

def test_document_fallback_no_translation(self):

    r = revision(save=True, content='Some    text.', is_approved=True)
    url = reverse('wiki.document', args=[r.document.slug], locale='fr')
    response = self.client.get(url)
    doc = pq(response.content)
    eq_(r.document.title, doc('main#content    div.document-head    h1').text())
    eq_(1, len(doc('#doc-pending-fallback')))
    ok_(('$translate' in doc('#edit-button').attr('href')))
    doc('#doc-pending-fallback').remove()
    eq_(pq(r.document.html).text(), doc('article#wikiArticle').text())
