示例#1
0
def test_uncase_first_char_upper():
    res = handlers.uncase_first_char('Upper')
    assert res == '(U|u)pper'
示例#2
0
def test_uncase_diacritic():
    input = 'ӟ'
    res = handlers.uncase_first_char(input)
    assert res == '(Ӟ|ӟ)'
示例#3
0
def test_uncase_first_char_lower():
    res = handlers.uncase_first_char('lower')
    assert res == '(L|l)ower'
示例#4
0
def test_uncase_first_char_symbol():
    input = '\\?something'
    res = handlers.uncase_first_char(input)
    assert res == '\\?something'