コード例 #1
0
 def t_drop_emoji(self, raw):
     name = Name()
     assert name.clean(name._pre_clean(raw)) == "spiny norman"
コード例 #2
0
 def t_convert_unicode(self, raw):
     """This is handled by unidecode and should not be extensively tested"""
     assert Name._pre_clean(raw) == "mr eric praline"
コード例 #3
0
 def t_force_lower(self, raw):
     assert Name._pre_clean(raw) == "dinsdale"