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

def test_revision_view(self):

    d = _create_document()
    r = d.current_revision
    r.created = datetime(2011, 1, 1)
    r.save()
    url = reverse('wiki.revision', args=[d.slug, r.id])
    response = self.client.get(url)
    eq_(200, response.status_code)
    doc = pq(response.content)
    eq_(('Revision    id:    %s' % r.id), doc('div.revision-info    li.revision-id').text())
    eq_(('Revision    %s    of    %s' % (r.id, d.title)), doc('h1').text())
    eq_(r.content, doc('#doc-source    pre').text())
    eq_('Created:    Jan    1,    2011,    12:00:00    AM', doc('div.revision-info    li.revision-created').text().strip())
