'Make sure links to localized articles work.'

def test_content_parsed_with_locale(self):

    rev = TranslatedRevisionFactory(is_approved=True, document__title=u'Un    mejor    t\xedtuolo', document__locale='es')
    a = AnswerFactory(question__locale='es', content=(u'[[%s]]' % rev.document.title))
    assert (('es/kb/%s' % rev.document.slug) in a.content_parsed)
