def test_sort_func_case_sensitive(self): # we can sort case sensitive func = sort_func(case_sensitive=True) assert func("UpperCase") == normalize("UpperCase", case_sensitive=True)
def test_sort_func_variant(self): # we can set a variant for sort func func = sort_func(variant=VARIANT2) assert func("Öre") == normalize("Öre", variant=VARIANT2)
def test_sort_func(self): # we can get a sort func func = sort_func() assert func("Öre") == normalize("Öre")