'Check Draft Revision is restored when a user click on the Restore Button'

def test_draft_revision_restore_in_translation_page(self):

    draft = DraftRevisionFactory(creator=self.u)
    doc = draft.document
    trans_url = reverse('wiki.translate', locale=draft.locale, args=[doc.slug])
    draft_request = {'restore': 'Restore'}
    restore_draft_resp = self.client.get(trans_url, draft_request)
    eq_(200, restore_draft_resp.status_code)
    trans_page = pq(restore_draft_resp.content)
    eq_(draft.content, trans_page('#id_content').text())
