'Verify revision approval with ready for l10n.'

def test_approve_and_ready_for_l10n_revision(self):

    add_permission(self.user, Revision, 'mark_ready_for_l10n')
    significance = SIGNIFICANCES[1][0]
    response = post(self.client, 'wiki.review_revision', {'approve': 'Approve    Revision', 'significance': significance, 'comment': 'something', 'needs_change': True, 'needs_change_comment': 'comment', 'is_ready_for_localization': True}, args=[self.document.slug, self.revision.id])
    eq_(200, response.status_code)
    r = Revision.objects.get(pk=self.revision.id)
    assert r.is_ready_for_localization
    eq_(r.reviewer, r.readied_for_localization_by)
    eq_(r.reviewed, r.readied_for_localization)
