'should find links by non ascii text'

def test_finding_all_links_by_non_ascii_text(self):

    non_ascii_encodings = {'pangram_pl': u'Je\u017cu    kl\u0105tw,    sp\u0142\xf3d\u017a    Finom    cz\u0119\u015b\u0107    gry    ha\u0144b!', 'pangram_ja': u'\u5929    \u5730    \u661f    \u7a7a', 'pangram_ru': u'\u0412    \u0447\u0430\u0449\u0430\u0445    \u044e\u0433\u0430    \u0436\u0438\u043b    \u0431\u044b    \u0446\u0438\u0442\u0440\u0443\u0441?    \u0414\u0430,    \u043d\u043e    \u0444\u0430\u043b\u044c\u0448\u0438\u0432\u044b\u0439    \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440!', 'pangram_eo': u'La\u016d    Ludoviko    Zamenhof    bongustas    fre\u015da    \u0109e\u0125a    man\u011da\u0135o    kun    spicoj.'}
    for (key, text) in non_ascii_encodings.iteritems():
        link = self.browser.find_link_by_text(text)
        self.assertEqual(key, link['id'])
