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