예제 #1
0
파일: test_funcs.py 프로젝트: imbolc/Leaf
def test_strip_accents():
    assert leaf.strip_accents(u'ЁёЇїIiӒӓЎўй') == u'ЕеІіIiАаУуй', "Strip accents from a string"
예제 #2
0
파일: test_funcs.py 프로젝트: imbolc/Leaf
def test_strip_accents():
    assert leaf.strip_accents(
        u'ЁёЇїIiӒӓЎўй') == u'ЕеІіIiАаУуй', "Strip accents from a string"
예제 #3
0
def get_document(raw_html_schedule):
    return leaf.parse(leaf.strip_symbols(leaf.strip_accents(show(raw_html_schedule))))
예제 #4
0
def get_document(raw_html_schedule):
    return leaf.parse(
        leaf.strip_symbols(leaf.strip_accents(show(raw_html_schedule))))