'Load the document view page and verify the title and content.'

def test_document_view(self):

    r = revision(save=True, content='Some    text.', is_approved=True)
    response = self.client.get(r.document.get_absolute_url())
    eq_(200, response.status_code)
    doc = pq(response.content)
    eq_(r.document.title, doc('main#content    div.document-head    h1').text())
    eq_(r.document.html, doc('article#wikiArticle').text())
