'Make a revision, and approve or reject it through the view.'

def _mark_as_ready_revision(self, doc=None):

    if (doc is None):
        doc = DocumentFactory()
    r = ApprovedRevisionFactory(is_ready_for_localization=False, significance=MEDIUM_SIGNIFICANCE, document=doc)
    data = {'comment': 'something'}
    response = post(self.client, 'wiki.mark_ready_for_l10n_revision', data, args=[r.document.slug, r.id])
    eq_(200, response.status_code)
