'Verify the category documents list view.'

def test_category_list(self):

    response = self.client.get(reverse('wiki.category', args=[self.doc.category]))
    doc = pq(response.content)
    cat = self.doc.category
    eq_(Document.objects.filter(category=cat, locale=self.locale).count(), len(doc('#document-list    ul.documents    li')))
