'Verify review page when self approving and no other contributors.
Textarea for approve/defer message should not be included in the page.'

def test_self_approve_without_revision_contributors(self):

    rev = RevisionFactory(is_approved=False)
    u = rev.creator
    add_permission(u, Revision, 'review_revision')
    self.client.login(username=u.username, password='testpass')
    response = get(self.client, 'wiki.review_revision', args=[rev.document.slug, rev.id])
    eq_(200, response.status_code)
    doc = pq(response.content)
    eq_(0, len(doc('textarea[name="comment"]')))
