'Verify the wiki doc appears on the landing page.'

def test_wiki_section(self):

    response = self.client.get(urlparams(reverse('community.home')))
    eq_(response.status_code, 200)
    doc = pq(response.content)
    eq_(len(doc('#doc-content')), 0)
    d = DocumentFactory(title='Community    Hub    News', slug='community-hub-news')
    rev = ApprovedRevisionFactory(document=d, content='splendid')
    d.current_revision = rev
    d.save()
    response = self.client.get(urlparams(reverse('community.home')))
    eq_(response.status_code, 200)
    doc = pq(response.content)
    community_news = doc('#doc-content')
    eq_(len(community_news), 1)
    assert ('splendid' in community_news.text())
