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