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

def test_self_approve_with_revision_contributors(self):

    rev1 = RevisionFactory(is_approved=False)
    rev2 = RevisionFactory(is_approved=False, document=rev1.document)
    u = rev2.creator
    add_permission(u, Revision, 'review_revision')
    self.client.login(username=u.username, password='testpass')
    response = get(self.client, 'wiki.review_revision', args=[rev2.document.slug, rev2.id])
    eq_(200, response.status_code)
    doc = pq(response.content)
    eq_(2, len(doc('textarea[name="comment"]')))
    label = doc('div.message    label').text()
    assert (rev1.creator.username in label)
    assert (u.username not in label)
